aws_workspaces_directory

package
v0.0.0-...-4deecce Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Args

type Args struct {
	// DirectoryId: string, required
	DirectoryId terra.StringValue `hcl:"directory_id,attr" validate:"required"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// IpGroupIds: set of string, optional
	IpGroupIds terra.SetValue[terra.StringValue] `hcl:"ip_group_ids,attr"`
	// SubnetIds: set of string, optional
	SubnetIds terra.SetValue[terra.StringValue] `hcl:"subnet_ids,attr"`
	// Tags: map of string, optional
	Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"`
	// TagsAll: map of string, optional
	TagsAll terra.MapValue[terra.StringValue] `hcl:"tags_all,attr"`
	// SelfServicePermissions: optional
	SelfServicePermissions *SelfServicePermissions `hcl:"self_service_permissions,block"`
	// WorkspaceAccessProperties: optional
	WorkspaceAccessProperties *WorkspaceAccessProperties `hcl:"workspace_access_properties,block"`
	// WorkspaceCreationProperties: optional
	WorkspaceCreationProperties *WorkspaceCreationProperties `hcl:"workspace_creation_properties,block"`
}

Args contains the configurations for aws_workspaces_directory.

type DataArgs

type DataArgs struct {
	// DirectoryId: string, required
	DirectoryId terra.StringValue `hcl:"directory_id,attr" validate:"required"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Tags: map of string, optional
	Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"`
}

DataArgs contains the configurations for aws_workspaces_directory.

type DataSelfServicePermissionsAttributes

type DataSelfServicePermissionsAttributes struct {
	// contains filtered or unexported fields
}

func (DataSelfServicePermissionsAttributes) ChangeComputeType

func (ssp DataSelfServicePermissionsAttributes) ChangeComputeType() terra.BoolValue

func (DataSelfServicePermissionsAttributes) IncreaseVolumeSize

func (ssp DataSelfServicePermissionsAttributes) IncreaseVolumeSize() terra.BoolValue

func (DataSelfServicePermissionsAttributes) InternalRef

func (DataSelfServicePermissionsAttributes) InternalTokens

func (DataSelfServicePermissionsAttributes) InternalWithRef

func (DataSelfServicePermissionsAttributes) RebuildWorkspace

func (ssp DataSelfServicePermissionsAttributes) RebuildWorkspace() terra.BoolValue

func (DataSelfServicePermissionsAttributes) RestartWorkspace

func (ssp DataSelfServicePermissionsAttributes) RestartWorkspace() terra.BoolValue

func (DataSelfServicePermissionsAttributes) SwitchRunningMode

func (ssp DataSelfServicePermissionsAttributes) SwitchRunningMode() terra.BoolValue

type DataSelfServicePermissionsState

type DataSelfServicePermissionsState struct {
	ChangeComputeType  bool `json:"change_compute_type"`
	IncreaseVolumeSize bool `json:"increase_volume_size"`
	RebuildWorkspace   bool `json:"rebuild_workspace"`
	RestartWorkspace   bool `json:"restart_workspace"`
	SwitchRunningMode  bool `json:"switch_running_mode"`
}

type DataSource

type DataSource struct {
	Name string
	Args DataArgs
}

DataSource represents the Terraform data resource aws_workspaces_directory.

func Data

func Data(name string, args DataArgs) *DataSource

Data creates a new instance of DataSource.

func (*DataSource) Attributes

func (awd *DataSource) Attributes() dataAwsWorkspacesDirectoryAttributes

Attributes returns the attributes for DataSource.

func (*DataSource) Configuration

func (awd *DataSource) Configuration() interface{}

Configuration returns the configuration (args) for DataSource.

func (*DataSource) DataSource

func (awd *DataSource) DataSource() string

DataSource returns the Terraform object type for DataSource.

func (*DataSource) LocalName

func (awd *DataSource) LocalName() string

LocalName returns the local name for DataSource.

type DataWorkspaceAccessPropertiesAttributes

type DataWorkspaceAccessPropertiesAttributes struct {
	// contains filtered or unexported fields
}

func (DataWorkspaceAccessPropertiesAttributes) DeviceTypeAndroid

func (DataWorkspaceAccessPropertiesAttributes) DeviceTypeChromeos

func (DataWorkspaceAccessPropertiesAttributes) DeviceTypeIos

func (DataWorkspaceAccessPropertiesAttributes) DeviceTypeLinux

func (DataWorkspaceAccessPropertiesAttributes) DeviceTypeOsx

func (DataWorkspaceAccessPropertiesAttributes) DeviceTypeWeb

func (DataWorkspaceAccessPropertiesAttributes) DeviceTypeWindows

func (DataWorkspaceAccessPropertiesAttributes) DeviceTypeZeroclient

func (wap DataWorkspaceAccessPropertiesAttributes) DeviceTypeZeroclient() terra.StringValue

func (DataWorkspaceAccessPropertiesAttributes) InternalRef

func (DataWorkspaceAccessPropertiesAttributes) InternalTokens

func (DataWorkspaceAccessPropertiesAttributes) InternalWithRef

type DataWorkspaceAccessPropertiesState

type DataWorkspaceAccessPropertiesState struct {
	DeviceTypeAndroid    string `json:"device_type_android"`
	DeviceTypeChromeos   string `json:"device_type_chromeos"`
	DeviceTypeIos        string `json:"device_type_ios"`
	DeviceTypeLinux      string `json:"device_type_linux"`
	DeviceTypeOsx        string `json:"device_type_osx"`
	DeviceTypeWeb        string `json:"device_type_web"`
	DeviceTypeWindows    string `json:"device_type_windows"`
	DeviceTypeZeroclient string `json:"device_type_zeroclient"`
}

type DataWorkspaceCreationPropertiesAttributes

type DataWorkspaceCreationPropertiesAttributes struct {
	// contains filtered or unexported fields
}

func (DataWorkspaceCreationPropertiesAttributes) CustomSecurityGroupId

func (wcp DataWorkspaceCreationPropertiesAttributes) CustomSecurityGroupId() terra.StringValue

func (DataWorkspaceCreationPropertiesAttributes) DefaultOu

func (DataWorkspaceCreationPropertiesAttributes) EnableInternetAccess

func (wcp DataWorkspaceCreationPropertiesAttributes) EnableInternetAccess() terra.BoolValue

func (DataWorkspaceCreationPropertiesAttributes) EnableMaintenanceMode

func (wcp DataWorkspaceCreationPropertiesAttributes) EnableMaintenanceMode() terra.BoolValue

func (DataWorkspaceCreationPropertiesAttributes) InternalRef

func (DataWorkspaceCreationPropertiesAttributes) InternalTokens

func (DataWorkspaceCreationPropertiesAttributes) InternalWithRef

func (DataWorkspaceCreationPropertiesAttributes) UserEnabledAsLocalAdministrator

func (wcp DataWorkspaceCreationPropertiesAttributes) UserEnabledAsLocalAdministrator() terra.BoolValue

type DataWorkspaceCreationPropertiesState

type DataWorkspaceCreationPropertiesState struct {
	CustomSecurityGroupId           string `json:"custom_security_group_id"`
	DefaultOu                       string `json:"default_ou"`
	EnableInternetAccess            bool   `json:"enable_internet_access"`
	EnableMaintenanceMode           bool   `json:"enable_maintenance_mode"`
	UserEnabledAsLocalAdministrator bool   `json:"user_enabled_as_local_administrator"`
}

type Resource

type Resource struct {
	Name string
	Args Args

	DependsOn terra.Dependencies
	Lifecycle *terra.Lifecycle
	// contains filtered or unexported fields
}

Resource represents the Terraform resource aws_workspaces_directory.

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (awd *Resource) Attributes() awsWorkspacesDirectoryAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

func (awd *Resource) Configuration() interface{}

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

func (awd *Resource) DependOn() terra.Reference

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

func (awd *Resource) Dependencies() terra.Dependencies

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

func (awd *Resource) ImportState(state io.Reader) error

ImportState imports the given attribute values into Resource's state.

func (*Resource) LifecycleManagement

func (awd *Resource) LifecycleManagement() *terra.Lifecycle

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (awd *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (awd *Resource) State() (*awsWorkspacesDirectoryState, bool)

State returns the state and a bool indicating if Resource has state.

func (*Resource) StateMust

func (awd *Resource) StateMust() *awsWorkspacesDirectoryState

StateMust returns the state for Resource. Panics if the state is nil.

func (*Resource) Type

func (awd *Resource) Type() string

Type returns the Terraform object type for Resource.

type SelfServicePermissions

type SelfServicePermissions struct {
	// ChangeComputeType: bool, optional
	ChangeComputeType terra.BoolValue `hcl:"change_compute_type,attr"`
	// IncreaseVolumeSize: bool, optional
	IncreaseVolumeSize terra.BoolValue `hcl:"increase_volume_size,attr"`
	// RebuildWorkspace: bool, optional
	RebuildWorkspace terra.BoolValue `hcl:"rebuild_workspace,attr"`
	// RestartWorkspace: bool, optional
	RestartWorkspace terra.BoolValue `hcl:"restart_workspace,attr"`
	// SwitchRunningMode: bool, optional
	SwitchRunningMode terra.BoolValue `hcl:"switch_running_mode,attr"`
}

type SelfServicePermissionsAttributes

type SelfServicePermissionsAttributes struct {
	// contains filtered or unexported fields
}

func (SelfServicePermissionsAttributes) ChangeComputeType

func (ssp SelfServicePermissionsAttributes) ChangeComputeType() terra.BoolValue

func (SelfServicePermissionsAttributes) IncreaseVolumeSize

func (ssp SelfServicePermissionsAttributes) IncreaseVolumeSize() terra.BoolValue

func (SelfServicePermissionsAttributes) InternalRef

func (SelfServicePermissionsAttributes) InternalTokens

func (ssp SelfServicePermissionsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SelfServicePermissionsAttributes) InternalWithRef

func (SelfServicePermissionsAttributes) RebuildWorkspace

func (ssp SelfServicePermissionsAttributes) RebuildWorkspace() terra.BoolValue

func (SelfServicePermissionsAttributes) RestartWorkspace

func (ssp SelfServicePermissionsAttributes) RestartWorkspace() terra.BoolValue

func (SelfServicePermissionsAttributes) SwitchRunningMode

func (ssp SelfServicePermissionsAttributes) SwitchRunningMode() terra.BoolValue

type SelfServicePermissionsState

type SelfServicePermissionsState struct {
	ChangeComputeType  bool `json:"change_compute_type"`
	IncreaseVolumeSize bool `json:"increase_volume_size"`
	RebuildWorkspace   bool `json:"rebuild_workspace"`
	RestartWorkspace   bool `json:"restart_workspace"`
	SwitchRunningMode  bool `json:"switch_running_mode"`
}

type WorkspaceAccessProperties

type WorkspaceAccessProperties struct {
	// DeviceTypeAndroid: string, optional
	DeviceTypeAndroid terra.StringValue `hcl:"device_type_android,attr"`
	// DeviceTypeChromeos: string, optional
	DeviceTypeChromeos terra.StringValue `hcl:"device_type_chromeos,attr"`
	// DeviceTypeIos: string, optional
	DeviceTypeIos terra.StringValue `hcl:"device_type_ios,attr"`
	// DeviceTypeLinux: string, optional
	DeviceTypeLinux terra.StringValue `hcl:"device_type_linux,attr"`
	// DeviceTypeOsx: string, optional
	DeviceTypeOsx terra.StringValue `hcl:"device_type_osx,attr"`
	// DeviceTypeWeb: string, optional
	DeviceTypeWeb terra.StringValue `hcl:"device_type_web,attr"`
	// DeviceTypeWindows: string, optional
	DeviceTypeWindows terra.StringValue `hcl:"device_type_windows,attr"`
	// DeviceTypeZeroclient: string, optional
	DeviceTypeZeroclient terra.StringValue `hcl:"device_type_zeroclient,attr"`
}

type WorkspaceAccessPropertiesAttributes

type WorkspaceAccessPropertiesAttributes struct {
	// contains filtered or unexported fields
}

func (WorkspaceAccessPropertiesAttributes) DeviceTypeAndroid

func (wap WorkspaceAccessPropertiesAttributes) DeviceTypeAndroid() terra.StringValue

func (WorkspaceAccessPropertiesAttributes) DeviceTypeChromeos

func (wap WorkspaceAccessPropertiesAttributes) DeviceTypeChromeos() terra.StringValue

func (WorkspaceAccessPropertiesAttributes) DeviceTypeIos

func (WorkspaceAccessPropertiesAttributes) DeviceTypeLinux

func (WorkspaceAccessPropertiesAttributes) DeviceTypeOsx

func (WorkspaceAccessPropertiesAttributes) DeviceTypeWeb

func (WorkspaceAccessPropertiesAttributes) DeviceTypeWindows

func (wap WorkspaceAccessPropertiesAttributes) DeviceTypeWindows() terra.StringValue

func (WorkspaceAccessPropertiesAttributes) DeviceTypeZeroclient

func (wap WorkspaceAccessPropertiesAttributes) DeviceTypeZeroclient() terra.StringValue

func (WorkspaceAccessPropertiesAttributes) InternalRef

func (WorkspaceAccessPropertiesAttributes) InternalTokens

func (wap WorkspaceAccessPropertiesAttributes) InternalTokens() (hclwrite.Tokens, error)

func (WorkspaceAccessPropertiesAttributes) InternalWithRef

type WorkspaceAccessPropertiesState

type WorkspaceAccessPropertiesState struct {
	DeviceTypeAndroid    string `json:"device_type_android"`
	DeviceTypeChromeos   string `json:"device_type_chromeos"`
	DeviceTypeIos        string `json:"device_type_ios"`
	DeviceTypeLinux      string `json:"device_type_linux"`
	DeviceTypeOsx        string `json:"device_type_osx"`
	DeviceTypeWeb        string `json:"device_type_web"`
	DeviceTypeWindows    string `json:"device_type_windows"`
	DeviceTypeZeroclient string `json:"device_type_zeroclient"`
}

type WorkspaceCreationProperties

type WorkspaceCreationProperties struct {
	// CustomSecurityGroupId: string, optional
	CustomSecurityGroupId terra.StringValue `hcl:"custom_security_group_id,attr"`
	// DefaultOu: string, optional
	DefaultOu terra.StringValue `hcl:"default_ou,attr"`
	// EnableInternetAccess: bool, optional
	EnableInternetAccess terra.BoolValue `hcl:"enable_internet_access,attr"`
	// EnableMaintenanceMode: bool, optional
	EnableMaintenanceMode terra.BoolValue `hcl:"enable_maintenance_mode,attr"`
	// UserEnabledAsLocalAdministrator: bool, optional
	UserEnabledAsLocalAdministrator terra.BoolValue `hcl:"user_enabled_as_local_administrator,attr"`
}

type WorkspaceCreationPropertiesAttributes

type WorkspaceCreationPropertiesAttributes struct {
	// contains filtered or unexported fields
}

func (WorkspaceCreationPropertiesAttributes) CustomSecurityGroupId

func (wcp WorkspaceCreationPropertiesAttributes) CustomSecurityGroupId() terra.StringValue

func (WorkspaceCreationPropertiesAttributes) DefaultOu

func (WorkspaceCreationPropertiesAttributes) EnableInternetAccess

func (wcp WorkspaceCreationPropertiesAttributes) EnableInternetAccess() terra.BoolValue

func (WorkspaceCreationPropertiesAttributes) EnableMaintenanceMode

func (wcp WorkspaceCreationPropertiesAttributes) EnableMaintenanceMode() terra.BoolValue

func (WorkspaceCreationPropertiesAttributes) InternalRef

func (WorkspaceCreationPropertiesAttributes) InternalTokens

func (WorkspaceCreationPropertiesAttributes) InternalWithRef

func (WorkspaceCreationPropertiesAttributes) UserEnabledAsLocalAdministrator

func (wcp WorkspaceCreationPropertiesAttributes) UserEnabledAsLocalAdministrator() terra.BoolValue

type WorkspaceCreationPropertiesState

type WorkspaceCreationPropertiesState struct {
	CustomSecurityGroupId           string `json:"custom_security_group_id"`
	DefaultOu                       string `json:"default_ou"`
	EnableInternetAccess            bool   `json:"enable_internet_access"`
	EnableMaintenanceMode           bool   `json:"enable_maintenance_mode"`
	UserEnabledAsLocalAdministrator bool   `json:"user_enabled_as_local_administrator"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL