Documentation ¶
Index ¶
- type ConnectionAlias
- type ConnectionAliasArgs
- type ConnectionAliasArray
- type ConnectionAliasArrayInput
- type ConnectionAliasArrayOutput
- func (ConnectionAliasArrayOutput) ElementType() reflect.Type
- func (o ConnectionAliasArrayOutput) Index(i pulumi.IntInput) ConnectionAliasOutput
- func (o ConnectionAliasArrayOutput) ToConnectionAliasArrayOutput() ConnectionAliasArrayOutput
- func (o ConnectionAliasArrayOutput) ToConnectionAliasArrayOutputWithContext(ctx context.Context) ConnectionAliasArrayOutput
- type ConnectionAliasInput
- type ConnectionAliasMap
- type ConnectionAliasMapInput
- type ConnectionAliasMapOutput
- func (ConnectionAliasMapOutput) ElementType() reflect.Type
- func (o ConnectionAliasMapOutput) MapIndex(k pulumi.StringInput) ConnectionAliasOutput
- func (o ConnectionAliasMapOutput) ToConnectionAliasMapOutput() ConnectionAliasMapOutput
- func (o ConnectionAliasMapOutput) ToConnectionAliasMapOutputWithContext(ctx context.Context) ConnectionAliasMapOutput
- type ConnectionAliasOutput
- func (o ConnectionAliasOutput) ConnectionString() pulumi.StringOutput
- func (ConnectionAliasOutput) ElementType() reflect.Type
- func (o ConnectionAliasOutput) OwnerAccountId() pulumi.StringOutput
- func (o ConnectionAliasOutput) State() pulumi.StringOutput
- func (o ConnectionAliasOutput) Tags() pulumi.StringMapOutput
- func (o ConnectionAliasOutput) TagsAll() pulumi.StringMapOutputdeprecated
- func (o ConnectionAliasOutput) Timeouts() ConnectionAliasTimeoutsPtrOutput
- func (o ConnectionAliasOutput) ToConnectionAliasOutput() ConnectionAliasOutput
- func (o ConnectionAliasOutput) ToConnectionAliasOutputWithContext(ctx context.Context) ConnectionAliasOutput
- type ConnectionAliasState
- type ConnectionAliasTimeouts
- type ConnectionAliasTimeoutsArgs
- func (ConnectionAliasTimeoutsArgs) ElementType() reflect.Type
- func (i ConnectionAliasTimeoutsArgs) ToConnectionAliasTimeoutsOutput() ConnectionAliasTimeoutsOutput
- func (i ConnectionAliasTimeoutsArgs) ToConnectionAliasTimeoutsOutputWithContext(ctx context.Context) ConnectionAliasTimeoutsOutput
- func (i ConnectionAliasTimeoutsArgs) ToConnectionAliasTimeoutsPtrOutput() ConnectionAliasTimeoutsPtrOutput
- func (i ConnectionAliasTimeoutsArgs) ToConnectionAliasTimeoutsPtrOutputWithContext(ctx context.Context) ConnectionAliasTimeoutsPtrOutput
- type ConnectionAliasTimeoutsInput
- type ConnectionAliasTimeoutsOutput
- func (o ConnectionAliasTimeoutsOutput) Create() pulumi.StringPtrOutput
- func (o ConnectionAliasTimeoutsOutput) Delete() pulumi.StringPtrOutput
- func (ConnectionAliasTimeoutsOutput) ElementType() reflect.Type
- func (o ConnectionAliasTimeoutsOutput) ToConnectionAliasTimeoutsOutput() ConnectionAliasTimeoutsOutput
- func (o ConnectionAliasTimeoutsOutput) ToConnectionAliasTimeoutsOutputWithContext(ctx context.Context) ConnectionAliasTimeoutsOutput
- func (o ConnectionAliasTimeoutsOutput) ToConnectionAliasTimeoutsPtrOutput() ConnectionAliasTimeoutsPtrOutput
- func (o ConnectionAliasTimeoutsOutput) ToConnectionAliasTimeoutsPtrOutputWithContext(ctx context.Context) ConnectionAliasTimeoutsPtrOutput
- func (o ConnectionAliasTimeoutsOutput) Update() pulumi.StringPtrOutput
- type ConnectionAliasTimeoutsPtrInput
- type ConnectionAliasTimeoutsPtrOutput
- func (o ConnectionAliasTimeoutsPtrOutput) Create() pulumi.StringPtrOutput
- func (o ConnectionAliasTimeoutsPtrOutput) Delete() pulumi.StringPtrOutput
- func (o ConnectionAliasTimeoutsPtrOutput) Elem() ConnectionAliasTimeoutsOutput
- func (ConnectionAliasTimeoutsPtrOutput) ElementType() reflect.Type
- func (o ConnectionAliasTimeoutsPtrOutput) ToConnectionAliasTimeoutsPtrOutput() ConnectionAliasTimeoutsPtrOutput
- func (o ConnectionAliasTimeoutsPtrOutput) ToConnectionAliasTimeoutsPtrOutputWithContext(ctx context.Context) ConnectionAliasTimeoutsPtrOutput
- func (o ConnectionAliasTimeoutsPtrOutput) Update() pulumi.StringPtrOutput
- type Directory
- type DirectoryArgs
- type DirectoryArray
- type DirectoryArrayInput
- type DirectoryArrayOutput
- func (DirectoryArrayOutput) ElementType() reflect.Type
- func (o DirectoryArrayOutput) Index(i pulumi.IntInput) DirectoryOutput
- func (o DirectoryArrayOutput) ToDirectoryArrayOutput() DirectoryArrayOutput
- func (o DirectoryArrayOutput) ToDirectoryArrayOutputWithContext(ctx context.Context) DirectoryArrayOutput
- type DirectoryInput
- type DirectoryMap
- type DirectoryMapInput
- type DirectoryMapOutput
- type DirectoryOutput
- func (o DirectoryOutput) Alias() pulumi.StringOutput
- func (o DirectoryOutput) CustomerUserName() pulumi.StringOutput
- func (o DirectoryOutput) DirectoryId() pulumi.StringOutput
- func (o DirectoryOutput) DirectoryName() pulumi.StringOutput
- func (o DirectoryOutput) DirectoryType() pulumi.StringOutput
- func (o DirectoryOutput) DnsIpAddresses() pulumi.StringArrayOutput
- func (DirectoryOutput) ElementType() reflect.Type
- func (o DirectoryOutput) IamRoleId() pulumi.StringOutput
- func (o DirectoryOutput) IpGroupIds() pulumi.StringArrayOutput
- func (o DirectoryOutput) RegistrationCode() pulumi.StringOutput
- func (o DirectoryOutput) SelfServicePermissions() DirectorySelfServicePermissionsOutput
- func (o DirectoryOutput) SubnetIds() pulumi.StringArrayOutput
- func (o DirectoryOutput) Tags() pulumi.StringMapOutput
- func (o DirectoryOutput) TagsAll() pulumi.StringMapOutputdeprecated
- func (o DirectoryOutput) ToDirectoryOutput() DirectoryOutput
- func (o DirectoryOutput) ToDirectoryOutputWithContext(ctx context.Context) DirectoryOutput
- func (o DirectoryOutput) WorkspaceAccessProperties() DirectoryWorkspaceAccessPropertiesOutput
- func (o DirectoryOutput) WorkspaceCreationProperties() DirectoryWorkspaceCreationPropertiesOutput
- func (o DirectoryOutput) WorkspaceSecurityGroupId() pulumi.StringOutput
- type DirectorySelfServicePermissions
- type DirectorySelfServicePermissionsArgs
- func (DirectorySelfServicePermissionsArgs) ElementType() reflect.Type
- func (i DirectorySelfServicePermissionsArgs) ToDirectorySelfServicePermissionsOutput() DirectorySelfServicePermissionsOutput
- func (i DirectorySelfServicePermissionsArgs) ToDirectorySelfServicePermissionsOutputWithContext(ctx context.Context) DirectorySelfServicePermissionsOutput
- func (i DirectorySelfServicePermissionsArgs) ToDirectorySelfServicePermissionsPtrOutput() DirectorySelfServicePermissionsPtrOutput
- func (i DirectorySelfServicePermissionsArgs) ToDirectorySelfServicePermissionsPtrOutputWithContext(ctx context.Context) DirectorySelfServicePermissionsPtrOutput
- type DirectorySelfServicePermissionsInput
- type DirectorySelfServicePermissionsOutput
- func (o DirectorySelfServicePermissionsOutput) ChangeComputeType() pulumi.BoolPtrOutput
- func (DirectorySelfServicePermissionsOutput) ElementType() reflect.Type
- func (o DirectorySelfServicePermissionsOutput) IncreaseVolumeSize() pulumi.BoolPtrOutput
- func (o DirectorySelfServicePermissionsOutput) RebuildWorkspace() pulumi.BoolPtrOutput
- func (o DirectorySelfServicePermissionsOutput) RestartWorkspace() pulumi.BoolPtrOutput
- func (o DirectorySelfServicePermissionsOutput) SwitchRunningMode() pulumi.BoolPtrOutput
- func (o DirectorySelfServicePermissionsOutput) ToDirectorySelfServicePermissionsOutput() DirectorySelfServicePermissionsOutput
- func (o DirectorySelfServicePermissionsOutput) ToDirectorySelfServicePermissionsOutputWithContext(ctx context.Context) DirectorySelfServicePermissionsOutput
- func (o DirectorySelfServicePermissionsOutput) ToDirectorySelfServicePermissionsPtrOutput() DirectorySelfServicePermissionsPtrOutput
- func (o DirectorySelfServicePermissionsOutput) ToDirectorySelfServicePermissionsPtrOutputWithContext(ctx context.Context) DirectorySelfServicePermissionsPtrOutput
- type DirectorySelfServicePermissionsPtrInput
- type DirectorySelfServicePermissionsPtrOutput
- func (o DirectorySelfServicePermissionsPtrOutput) ChangeComputeType() pulumi.BoolPtrOutput
- func (o DirectorySelfServicePermissionsPtrOutput) Elem() DirectorySelfServicePermissionsOutput
- func (DirectorySelfServicePermissionsPtrOutput) ElementType() reflect.Type
- func (o DirectorySelfServicePermissionsPtrOutput) IncreaseVolumeSize() pulumi.BoolPtrOutput
- func (o DirectorySelfServicePermissionsPtrOutput) RebuildWorkspace() pulumi.BoolPtrOutput
- func (o DirectorySelfServicePermissionsPtrOutput) RestartWorkspace() pulumi.BoolPtrOutput
- func (o DirectorySelfServicePermissionsPtrOutput) SwitchRunningMode() pulumi.BoolPtrOutput
- func (o DirectorySelfServicePermissionsPtrOutput) ToDirectorySelfServicePermissionsPtrOutput() DirectorySelfServicePermissionsPtrOutput
- func (o DirectorySelfServicePermissionsPtrOutput) ToDirectorySelfServicePermissionsPtrOutputWithContext(ctx context.Context) DirectorySelfServicePermissionsPtrOutput
- type DirectoryState
- type DirectoryWorkspaceAccessProperties
- type DirectoryWorkspaceAccessPropertiesArgs
- func (DirectoryWorkspaceAccessPropertiesArgs) ElementType() reflect.Type
- func (i DirectoryWorkspaceAccessPropertiesArgs) ToDirectoryWorkspaceAccessPropertiesOutput() DirectoryWorkspaceAccessPropertiesOutput
- func (i DirectoryWorkspaceAccessPropertiesArgs) ToDirectoryWorkspaceAccessPropertiesOutputWithContext(ctx context.Context) DirectoryWorkspaceAccessPropertiesOutput
- func (i DirectoryWorkspaceAccessPropertiesArgs) ToDirectoryWorkspaceAccessPropertiesPtrOutput() DirectoryWorkspaceAccessPropertiesPtrOutput
- func (i DirectoryWorkspaceAccessPropertiesArgs) ToDirectoryWorkspaceAccessPropertiesPtrOutputWithContext(ctx context.Context) DirectoryWorkspaceAccessPropertiesPtrOutput
- type DirectoryWorkspaceAccessPropertiesInput
- type DirectoryWorkspaceAccessPropertiesOutput
- func (o DirectoryWorkspaceAccessPropertiesOutput) DeviceTypeAndroid() pulumi.StringPtrOutput
- func (o DirectoryWorkspaceAccessPropertiesOutput) DeviceTypeChromeos() pulumi.StringPtrOutput
- func (o DirectoryWorkspaceAccessPropertiesOutput) DeviceTypeIos() pulumi.StringPtrOutput
- func (o DirectoryWorkspaceAccessPropertiesOutput) DeviceTypeLinux() pulumi.StringPtrOutput
- func (o DirectoryWorkspaceAccessPropertiesOutput) DeviceTypeOsx() pulumi.StringPtrOutput
- func (o DirectoryWorkspaceAccessPropertiesOutput) DeviceTypeWeb() pulumi.StringPtrOutput
- func (o DirectoryWorkspaceAccessPropertiesOutput) DeviceTypeWindows() pulumi.StringPtrOutput
- func (o DirectoryWorkspaceAccessPropertiesOutput) DeviceTypeZeroclient() pulumi.StringPtrOutput
- func (DirectoryWorkspaceAccessPropertiesOutput) ElementType() reflect.Type
- func (o DirectoryWorkspaceAccessPropertiesOutput) ToDirectoryWorkspaceAccessPropertiesOutput() DirectoryWorkspaceAccessPropertiesOutput
- func (o DirectoryWorkspaceAccessPropertiesOutput) ToDirectoryWorkspaceAccessPropertiesOutputWithContext(ctx context.Context) DirectoryWorkspaceAccessPropertiesOutput
- func (o DirectoryWorkspaceAccessPropertiesOutput) ToDirectoryWorkspaceAccessPropertiesPtrOutput() DirectoryWorkspaceAccessPropertiesPtrOutput
- func (o DirectoryWorkspaceAccessPropertiesOutput) ToDirectoryWorkspaceAccessPropertiesPtrOutputWithContext(ctx context.Context) DirectoryWorkspaceAccessPropertiesPtrOutput
- type DirectoryWorkspaceAccessPropertiesPtrInput
- type DirectoryWorkspaceAccessPropertiesPtrOutput
- func (o DirectoryWorkspaceAccessPropertiesPtrOutput) DeviceTypeAndroid() pulumi.StringPtrOutput
- func (o DirectoryWorkspaceAccessPropertiesPtrOutput) DeviceTypeChromeos() pulumi.StringPtrOutput
- func (o DirectoryWorkspaceAccessPropertiesPtrOutput) DeviceTypeIos() pulumi.StringPtrOutput
- func (o DirectoryWorkspaceAccessPropertiesPtrOutput) DeviceTypeLinux() pulumi.StringPtrOutput
- func (o DirectoryWorkspaceAccessPropertiesPtrOutput) DeviceTypeOsx() pulumi.StringPtrOutput
- func (o DirectoryWorkspaceAccessPropertiesPtrOutput) DeviceTypeWeb() pulumi.StringPtrOutput
- func (o DirectoryWorkspaceAccessPropertiesPtrOutput) DeviceTypeWindows() pulumi.StringPtrOutput
- func (o DirectoryWorkspaceAccessPropertiesPtrOutput) DeviceTypeZeroclient() pulumi.StringPtrOutput
- func (o DirectoryWorkspaceAccessPropertiesPtrOutput) Elem() DirectoryWorkspaceAccessPropertiesOutput
- func (DirectoryWorkspaceAccessPropertiesPtrOutput) ElementType() reflect.Type
- func (o DirectoryWorkspaceAccessPropertiesPtrOutput) ToDirectoryWorkspaceAccessPropertiesPtrOutput() DirectoryWorkspaceAccessPropertiesPtrOutput
- func (o DirectoryWorkspaceAccessPropertiesPtrOutput) ToDirectoryWorkspaceAccessPropertiesPtrOutputWithContext(ctx context.Context) DirectoryWorkspaceAccessPropertiesPtrOutput
- type DirectoryWorkspaceCreationProperties
- type DirectoryWorkspaceCreationPropertiesArgs
- func (DirectoryWorkspaceCreationPropertiesArgs) ElementType() reflect.Type
- func (i DirectoryWorkspaceCreationPropertiesArgs) ToDirectoryWorkspaceCreationPropertiesOutput() DirectoryWorkspaceCreationPropertiesOutput
- func (i DirectoryWorkspaceCreationPropertiesArgs) ToDirectoryWorkspaceCreationPropertiesOutputWithContext(ctx context.Context) DirectoryWorkspaceCreationPropertiesOutput
- func (i DirectoryWorkspaceCreationPropertiesArgs) ToDirectoryWorkspaceCreationPropertiesPtrOutput() DirectoryWorkspaceCreationPropertiesPtrOutput
- func (i DirectoryWorkspaceCreationPropertiesArgs) ToDirectoryWorkspaceCreationPropertiesPtrOutputWithContext(ctx context.Context) DirectoryWorkspaceCreationPropertiesPtrOutput
- type DirectoryWorkspaceCreationPropertiesInput
- type DirectoryWorkspaceCreationPropertiesOutput
- func (o DirectoryWorkspaceCreationPropertiesOutput) CustomSecurityGroupId() pulumi.StringPtrOutput
- func (o DirectoryWorkspaceCreationPropertiesOutput) DefaultOu() pulumi.StringPtrOutput
- func (DirectoryWorkspaceCreationPropertiesOutput) ElementType() reflect.Type
- func (o DirectoryWorkspaceCreationPropertiesOutput) EnableInternetAccess() pulumi.BoolPtrOutput
- func (o DirectoryWorkspaceCreationPropertiesOutput) EnableMaintenanceMode() pulumi.BoolPtrOutput
- func (o DirectoryWorkspaceCreationPropertiesOutput) ToDirectoryWorkspaceCreationPropertiesOutput() DirectoryWorkspaceCreationPropertiesOutput
- func (o DirectoryWorkspaceCreationPropertiesOutput) ToDirectoryWorkspaceCreationPropertiesOutputWithContext(ctx context.Context) DirectoryWorkspaceCreationPropertiesOutput
- func (o DirectoryWorkspaceCreationPropertiesOutput) ToDirectoryWorkspaceCreationPropertiesPtrOutput() DirectoryWorkspaceCreationPropertiesPtrOutput
- func (o DirectoryWorkspaceCreationPropertiesOutput) ToDirectoryWorkspaceCreationPropertiesPtrOutputWithContext(ctx context.Context) DirectoryWorkspaceCreationPropertiesPtrOutput
- func (o DirectoryWorkspaceCreationPropertiesOutput) UserEnabledAsLocalAdministrator() pulumi.BoolPtrOutput
- type DirectoryWorkspaceCreationPropertiesPtrInput
- type DirectoryWorkspaceCreationPropertiesPtrOutput
- func (o DirectoryWorkspaceCreationPropertiesPtrOutput) CustomSecurityGroupId() pulumi.StringPtrOutput
- func (o DirectoryWorkspaceCreationPropertiesPtrOutput) DefaultOu() pulumi.StringPtrOutput
- func (o DirectoryWorkspaceCreationPropertiesPtrOutput) Elem() DirectoryWorkspaceCreationPropertiesOutput
- func (DirectoryWorkspaceCreationPropertiesPtrOutput) ElementType() reflect.Type
- func (o DirectoryWorkspaceCreationPropertiesPtrOutput) EnableInternetAccess() pulumi.BoolPtrOutput
- func (o DirectoryWorkspaceCreationPropertiesPtrOutput) EnableMaintenanceMode() pulumi.BoolPtrOutput
- func (o DirectoryWorkspaceCreationPropertiesPtrOutput) ToDirectoryWorkspaceCreationPropertiesPtrOutput() DirectoryWorkspaceCreationPropertiesPtrOutput
- func (o DirectoryWorkspaceCreationPropertiesPtrOutput) ToDirectoryWorkspaceCreationPropertiesPtrOutputWithContext(ctx context.Context) DirectoryWorkspaceCreationPropertiesPtrOutput
- func (o DirectoryWorkspaceCreationPropertiesPtrOutput) UserEnabledAsLocalAdministrator() pulumi.BoolPtrOutput
- type GetBundleArgs
- type GetBundleComputeType
- type GetBundleComputeTypeArgs
- type GetBundleComputeTypeArray
- type GetBundleComputeTypeArrayInput
- type GetBundleComputeTypeArrayOutput
- func (GetBundleComputeTypeArrayOutput) ElementType() reflect.Type
- func (o GetBundleComputeTypeArrayOutput) Index(i pulumi.IntInput) GetBundleComputeTypeOutput
- func (o GetBundleComputeTypeArrayOutput) ToGetBundleComputeTypeArrayOutput() GetBundleComputeTypeArrayOutput
- func (o GetBundleComputeTypeArrayOutput) ToGetBundleComputeTypeArrayOutputWithContext(ctx context.Context) GetBundleComputeTypeArrayOutput
- type GetBundleComputeTypeInput
- type GetBundleComputeTypeOutput
- func (GetBundleComputeTypeOutput) ElementType() reflect.Type
- func (o GetBundleComputeTypeOutput) Name() pulumi.StringOutput
- func (o GetBundleComputeTypeOutput) ToGetBundleComputeTypeOutput() GetBundleComputeTypeOutput
- func (o GetBundleComputeTypeOutput) ToGetBundleComputeTypeOutputWithContext(ctx context.Context) GetBundleComputeTypeOutput
- type GetBundleOutputArgs
- type GetBundleResult
- type GetBundleResultOutput
- func (o GetBundleResultOutput) BundleId() pulumi.StringPtrOutput
- func (o GetBundleResultOutput) ComputeTypes() GetBundleComputeTypeArrayOutput
- func (o GetBundleResultOutput) Description() pulumi.StringOutput
- func (GetBundleResultOutput) ElementType() reflect.Type
- func (o GetBundleResultOutput) Id() pulumi.StringOutput
- func (o GetBundleResultOutput) Name() pulumi.StringPtrOutput
- func (o GetBundleResultOutput) Owner() pulumi.StringPtrOutput
- func (o GetBundleResultOutput) RootStorages() GetBundleRootStorageArrayOutput
- func (o GetBundleResultOutput) ToGetBundleResultOutput() GetBundleResultOutput
- func (o GetBundleResultOutput) ToGetBundleResultOutputWithContext(ctx context.Context) GetBundleResultOutput
- func (o GetBundleResultOutput) UserStorages() GetBundleUserStorageArrayOutput
- type GetBundleRootStorage
- type GetBundleRootStorageArgs
- type GetBundleRootStorageArray
- type GetBundleRootStorageArrayInput
- type GetBundleRootStorageArrayOutput
- func (GetBundleRootStorageArrayOutput) ElementType() reflect.Type
- func (o GetBundleRootStorageArrayOutput) Index(i pulumi.IntInput) GetBundleRootStorageOutput
- func (o GetBundleRootStorageArrayOutput) ToGetBundleRootStorageArrayOutput() GetBundleRootStorageArrayOutput
- func (o GetBundleRootStorageArrayOutput) ToGetBundleRootStorageArrayOutputWithContext(ctx context.Context) GetBundleRootStorageArrayOutput
- type GetBundleRootStorageInput
- type GetBundleRootStorageOutput
- func (o GetBundleRootStorageOutput) Capacity() pulumi.StringOutput
- func (GetBundleRootStorageOutput) ElementType() reflect.Type
- func (o GetBundleRootStorageOutput) ToGetBundleRootStorageOutput() GetBundleRootStorageOutput
- func (o GetBundleRootStorageOutput) ToGetBundleRootStorageOutputWithContext(ctx context.Context) GetBundleRootStorageOutput
- type GetBundleUserStorage
- type GetBundleUserStorageArgs
- type GetBundleUserStorageArray
- type GetBundleUserStorageArrayInput
- type GetBundleUserStorageArrayOutput
- func (GetBundleUserStorageArrayOutput) ElementType() reflect.Type
- func (o GetBundleUserStorageArrayOutput) Index(i pulumi.IntInput) GetBundleUserStorageOutput
- func (o GetBundleUserStorageArrayOutput) ToGetBundleUserStorageArrayOutput() GetBundleUserStorageArrayOutput
- func (o GetBundleUserStorageArrayOutput) ToGetBundleUserStorageArrayOutputWithContext(ctx context.Context) GetBundleUserStorageArrayOutput
- type GetBundleUserStorageInput
- type GetBundleUserStorageOutput
- func (o GetBundleUserStorageOutput) Capacity() pulumi.StringOutput
- func (GetBundleUserStorageOutput) ElementType() reflect.Type
- func (o GetBundleUserStorageOutput) ToGetBundleUserStorageOutput() GetBundleUserStorageOutput
- func (o GetBundleUserStorageOutput) ToGetBundleUserStorageOutputWithContext(ctx context.Context) GetBundleUserStorageOutput
- type GetDirectorySelfServicePermission
- type GetDirectorySelfServicePermissionArgs
- func (GetDirectorySelfServicePermissionArgs) ElementType() reflect.Type
- func (i GetDirectorySelfServicePermissionArgs) ToGetDirectorySelfServicePermissionOutput() GetDirectorySelfServicePermissionOutput
- func (i GetDirectorySelfServicePermissionArgs) ToGetDirectorySelfServicePermissionOutputWithContext(ctx context.Context) GetDirectorySelfServicePermissionOutput
- type GetDirectorySelfServicePermissionArray
- func (GetDirectorySelfServicePermissionArray) ElementType() reflect.Type
- func (i GetDirectorySelfServicePermissionArray) ToGetDirectorySelfServicePermissionArrayOutput() GetDirectorySelfServicePermissionArrayOutput
- func (i GetDirectorySelfServicePermissionArray) ToGetDirectorySelfServicePermissionArrayOutputWithContext(ctx context.Context) GetDirectorySelfServicePermissionArrayOutput
- type GetDirectorySelfServicePermissionArrayInput
- type GetDirectorySelfServicePermissionArrayOutput
- func (GetDirectorySelfServicePermissionArrayOutput) ElementType() reflect.Type
- func (o GetDirectorySelfServicePermissionArrayOutput) Index(i pulumi.IntInput) GetDirectorySelfServicePermissionOutput
- func (o GetDirectorySelfServicePermissionArrayOutput) ToGetDirectorySelfServicePermissionArrayOutput() GetDirectorySelfServicePermissionArrayOutput
- func (o GetDirectorySelfServicePermissionArrayOutput) ToGetDirectorySelfServicePermissionArrayOutputWithContext(ctx context.Context) GetDirectorySelfServicePermissionArrayOutput
- type GetDirectorySelfServicePermissionInput
- type GetDirectorySelfServicePermissionOutput
- func (o GetDirectorySelfServicePermissionOutput) ChangeComputeType() pulumi.BoolOutput
- func (GetDirectorySelfServicePermissionOutput) ElementType() reflect.Type
- func (o GetDirectorySelfServicePermissionOutput) IncreaseVolumeSize() pulumi.BoolOutput
- func (o GetDirectorySelfServicePermissionOutput) RebuildWorkspace() pulumi.BoolOutput
- func (o GetDirectorySelfServicePermissionOutput) RestartWorkspace() pulumi.BoolOutput
- func (o GetDirectorySelfServicePermissionOutput) SwitchRunningMode() pulumi.BoolOutput
- func (o GetDirectorySelfServicePermissionOutput) ToGetDirectorySelfServicePermissionOutput() GetDirectorySelfServicePermissionOutput
- func (o GetDirectorySelfServicePermissionOutput) ToGetDirectorySelfServicePermissionOutputWithContext(ctx context.Context) GetDirectorySelfServicePermissionOutput
- type GetDirectoryWorkspaceAccessProperty
- type GetDirectoryWorkspaceAccessPropertyArgs
- func (GetDirectoryWorkspaceAccessPropertyArgs) ElementType() reflect.Type
- func (i GetDirectoryWorkspaceAccessPropertyArgs) ToGetDirectoryWorkspaceAccessPropertyOutput() GetDirectoryWorkspaceAccessPropertyOutput
- func (i GetDirectoryWorkspaceAccessPropertyArgs) ToGetDirectoryWorkspaceAccessPropertyOutputWithContext(ctx context.Context) GetDirectoryWorkspaceAccessPropertyOutput
- type GetDirectoryWorkspaceAccessPropertyArray
- func (GetDirectoryWorkspaceAccessPropertyArray) ElementType() reflect.Type
- func (i GetDirectoryWorkspaceAccessPropertyArray) ToGetDirectoryWorkspaceAccessPropertyArrayOutput() GetDirectoryWorkspaceAccessPropertyArrayOutput
- func (i GetDirectoryWorkspaceAccessPropertyArray) ToGetDirectoryWorkspaceAccessPropertyArrayOutputWithContext(ctx context.Context) GetDirectoryWorkspaceAccessPropertyArrayOutput
- type GetDirectoryWorkspaceAccessPropertyArrayInput
- type GetDirectoryWorkspaceAccessPropertyArrayOutput
- func (GetDirectoryWorkspaceAccessPropertyArrayOutput) ElementType() reflect.Type
- func (o GetDirectoryWorkspaceAccessPropertyArrayOutput) Index(i pulumi.IntInput) GetDirectoryWorkspaceAccessPropertyOutput
- func (o GetDirectoryWorkspaceAccessPropertyArrayOutput) ToGetDirectoryWorkspaceAccessPropertyArrayOutput() GetDirectoryWorkspaceAccessPropertyArrayOutput
- func (o GetDirectoryWorkspaceAccessPropertyArrayOutput) ToGetDirectoryWorkspaceAccessPropertyArrayOutputWithContext(ctx context.Context) GetDirectoryWorkspaceAccessPropertyArrayOutput
- type GetDirectoryWorkspaceAccessPropertyInput
- type GetDirectoryWorkspaceAccessPropertyOutput
- func (o GetDirectoryWorkspaceAccessPropertyOutput) DeviceTypeAndroid() pulumi.StringOutput
- func (o GetDirectoryWorkspaceAccessPropertyOutput) DeviceTypeChromeos() pulumi.StringOutput
- func (o GetDirectoryWorkspaceAccessPropertyOutput) DeviceTypeIos() pulumi.StringOutput
- func (o GetDirectoryWorkspaceAccessPropertyOutput) DeviceTypeLinux() pulumi.StringOutput
- func (o GetDirectoryWorkspaceAccessPropertyOutput) DeviceTypeOsx() pulumi.StringOutput
- func (o GetDirectoryWorkspaceAccessPropertyOutput) DeviceTypeWeb() pulumi.StringOutput
- func (o GetDirectoryWorkspaceAccessPropertyOutput) DeviceTypeWindows() pulumi.StringOutput
- func (o GetDirectoryWorkspaceAccessPropertyOutput) DeviceTypeZeroclient() pulumi.StringOutput
- func (GetDirectoryWorkspaceAccessPropertyOutput) ElementType() reflect.Type
- func (o GetDirectoryWorkspaceAccessPropertyOutput) ToGetDirectoryWorkspaceAccessPropertyOutput() GetDirectoryWorkspaceAccessPropertyOutput
- func (o GetDirectoryWorkspaceAccessPropertyOutput) ToGetDirectoryWorkspaceAccessPropertyOutputWithContext(ctx context.Context) GetDirectoryWorkspaceAccessPropertyOutput
- type GetDirectoryWorkspaceCreationProperty
- type GetDirectoryWorkspaceCreationPropertyArgs
- func (GetDirectoryWorkspaceCreationPropertyArgs) ElementType() reflect.Type
- func (i GetDirectoryWorkspaceCreationPropertyArgs) ToGetDirectoryWorkspaceCreationPropertyOutput() GetDirectoryWorkspaceCreationPropertyOutput
- func (i GetDirectoryWorkspaceCreationPropertyArgs) ToGetDirectoryWorkspaceCreationPropertyOutputWithContext(ctx context.Context) GetDirectoryWorkspaceCreationPropertyOutput
- type GetDirectoryWorkspaceCreationPropertyArray
- func (GetDirectoryWorkspaceCreationPropertyArray) ElementType() reflect.Type
- func (i GetDirectoryWorkspaceCreationPropertyArray) ToGetDirectoryWorkspaceCreationPropertyArrayOutput() GetDirectoryWorkspaceCreationPropertyArrayOutput
- func (i GetDirectoryWorkspaceCreationPropertyArray) ToGetDirectoryWorkspaceCreationPropertyArrayOutputWithContext(ctx context.Context) GetDirectoryWorkspaceCreationPropertyArrayOutput
- type GetDirectoryWorkspaceCreationPropertyArrayInput
- type GetDirectoryWorkspaceCreationPropertyArrayOutput
- func (GetDirectoryWorkspaceCreationPropertyArrayOutput) ElementType() reflect.Type
- func (o GetDirectoryWorkspaceCreationPropertyArrayOutput) Index(i pulumi.IntInput) GetDirectoryWorkspaceCreationPropertyOutput
- func (o GetDirectoryWorkspaceCreationPropertyArrayOutput) ToGetDirectoryWorkspaceCreationPropertyArrayOutput() GetDirectoryWorkspaceCreationPropertyArrayOutput
- func (o GetDirectoryWorkspaceCreationPropertyArrayOutput) ToGetDirectoryWorkspaceCreationPropertyArrayOutputWithContext(ctx context.Context) GetDirectoryWorkspaceCreationPropertyArrayOutput
- type GetDirectoryWorkspaceCreationPropertyInput
- type GetDirectoryWorkspaceCreationPropertyOutput
- func (o GetDirectoryWorkspaceCreationPropertyOutput) CustomSecurityGroupId() pulumi.StringOutput
- func (o GetDirectoryWorkspaceCreationPropertyOutput) DefaultOu() pulumi.StringOutput
- func (GetDirectoryWorkspaceCreationPropertyOutput) ElementType() reflect.Type
- func (o GetDirectoryWorkspaceCreationPropertyOutput) EnableInternetAccess() pulumi.BoolOutput
- func (o GetDirectoryWorkspaceCreationPropertyOutput) EnableMaintenanceMode() pulumi.BoolOutput
- func (o GetDirectoryWorkspaceCreationPropertyOutput) ToGetDirectoryWorkspaceCreationPropertyOutput() GetDirectoryWorkspaceCreationPropertyOutput
- func (o GetDirectoryWorkspaceCreationPropertyOutput) ToGetDirectoryWorkspaceCreationPropertyOutputWithContext(ctx context.Context) GetDirectoryWorkspaceCreationPropertyOutput
- func (o GetDirectoryWorkspaceCreationPropertyOutput) UserEnabledAsLocalAdministrator() pulumi.BoolOutput
- type GetImageArgs
- type GetImageOutputArgs
- type GetImageResult
- type GetImageResultOutput
- func (o GetImageResultOutput) Description() pulumi.StringOutput
- func (GetImageResultOutput) ElementType() reflect.Type
- func (o GetImageResultOutput) Id() pulumi.StringOutput
- func (o GetImageResultOutput) ImageId() pulumi.StringOutput
- func (o GetImageResultOutput) Name() pulumi.StringOutput
- func (o GetImageResultOutput) OperatingSystemType() pulumi.StringOutput
- func (o GetImageResultOutput) RequiredTenancy() pulumi.StringOutput
- func (o GetImageResultOutput) State() pulumi.StringOutput
- func (o GetImageResultOutput) ToGetImageResultOutput() GetImageResultOutput
- func (o GetImageResultOutput) ToGetImageResultOutputWithContext(ctx context.Context) GetImageResultOutput
- type GetWorkspaceWorkspaceProperty
- type GetWorkspaceWorkspacePropertyArgs
- func (GetWorkspaceWorkspacePropertyArgs) ElementType() reflect.Type
- func (i GetWorkspaceWorkspacePropertyArgs) ToGetWorkspaceWorkspacePropertyOutput() GetWorkspaceWorkspacePropertyOutput
- func (i GetWorkspaceWorkspacePropertyArgs) ToGetWorkspaceWorkspacePropertyOutputWithContext(ctx context.Context) GetWorkspaceWorkspacePropertyOutput
- type GetWorkspaceWorkspacePropertyArray
- func (GetWorkspaceWorkspacePropertyArray) ElementType() reflect.Type
- func (i GetWorkspaceWorkspacePropertyArray) ToGetWorkspaceWorkspacePropertyArrayOutput() GetWorkspaceWorkspacePropertyArrayOutput
- func (i GetWorkspaceWorkspacePropertyArray) ToGetWorkspaceWorkspacePropertyArrayOutputWithContext(ctx context.Context) GetWorkspaceWorkspacePropertyArrayOutput
- type GetWorkspaceWorkspacePropertyArrayInput
- type GetWorkspaceWorkspacePropertyArrayOutput
- func (GetWorkspaceWorkspacePropertyArrayOutput) ElementType() reflect.Type
- func (o GetWorkspaceWorkspacePropertyArrayOutput) Index(i pulumi.IntInput) GetWorkspaceWorkspacePropertyOutput
- func (o GetWorkspaceWorkspacePropertyArrayOutput) ToGetWorkspaceWorkspacePropertyArrayOutput() GetWorkspaceWorkspacePropertyArrayOutput
- func (o GetWorkspaceWorkspacePropertyArrayOutput) ToGetWorkspaceWorkspacePropertyArrayOutputWithContext(ctx context.Context) GetWorkspaceWorkspacePropertyArrayOutput
- type GetWorkspaceWorkspacePropertyInput
- type GetWorkspaceWorkspacePropertyOutput
- func (o GetWorkspaceWorkspacePropertyOutput) ComputeTypeName() pulumi.StringOutput
- func (GetWorkspaceWorkspacePropertyOutput) ElementType() reflect.Type
- func (o GetWorkspaceWorkspacePropertyOutput) RootVolumeSizeGib() pulumi.IntOutput
- func (o GetWorkspaceWorkspacePropertyOutput) RunningMode() pulumi.StringOutput
- func (o GetWorkspaceWorkspacePropertyOutput) RunningModeAutoStopTimeoutInMinutes() pulumi.IntOutput
- func (o GetWorkspaceWorkspacePropertyOutput) ToGetWorkspaceWorkspacePropertyOutput() GetWorkspaceWorkspacePropertyOutput
- func (o GetWorkspaceWorkspacePropertyOutput) ToGetWorkspaceWorkspacePropertyOutputWithContext(ctx context.Context) GetWorkspaceWorkspacePropertyOutput
- func (o GetWorkspaceWorkspacePropertyOutput) UserVolumeSizeGib() pulumi.IntOutput
- type IpGroup
- type IpGroupArgs
- type IpGroupArray
- type IpGroupArrayInput
- type IpGroupArrayOutput
- type IpGroupInput
- type IpGroupMap
- type IpGroupMapInput
- type IpGroupMapOutput
- type IpGroupOutput
- func (o IpGroupOutput) Description() pulumi.StringPtrOutput
- func (IpGroupOutput) ElementType() reflect.Type
- func (o IpGroupOutput) Name() pulumi.StringOutput
- func (o IpGroupOutput) Rules() IpGroupRuleArrayOutput
- func (o IpGroupOutput) Tags() pulumi.StringMapOutput
- func (o IpGroupOutput) TagsAll() pulumi.StringMapOutputdeprecated
- func (o IpGroupOutput) ToIpGroupOutput() IpGroupOutput
- func (o IpGroupOutput) ToIpGroupOutputWithContext(ctx context.Context) IpGroupOutput
- type IpGroupRule
- type IpGroupRuleArgs
- type IpGroupRuleArray
- type IpGroupRuleArrayInput
- type IpGroupRuleArrayOutput
- func (IpGroupRuleArrayOutput) ElementType() reflect.Type
- func (o IpGroupRuleArrayOutput) Index(i pulumi.IntInput) IpGroupRuleOutput
- func (o IpGroupRuleArrayOutput) ToIpGroupRuleArrayOutput() IpGroupRuleArrayOutput
- func (o IpGroupRuleArrayOutput) ToIpGroupRuleArrayOutputWithContext(ctx context.Context) IpGroupRuleArrayOutput
- type IpGroupRuleInput
- type IpGroupRuleOutput
- func (o IpGroupRuleOutput) Description() pulumi.StringPtrOutput
- func (IpGroupRuleOutput) ElementType() reflect.Type
- func (o IpGroupRuleOutput) Source() pulumi.StringOutput
- func (o IpGroupRuleOutput) ToIpGroupRuleOutput() IpGroupRuleOutput
- func (o IpGroupRuleOutput) ToIpGroupRuleOutputWithContext(ctx context.Context) IpGroupRuleOutput
- type IpGroupState
- type LookupDirectoryArgs
- type LookupDirectoryOutputArgs
- type LookupDirectoryResult
- type LookupDirectoryResultOutput
- func (o LookupDirectoryResultOutput) Alias() pulumi.StringOutput
- func (o LookupDirectoryResultOutput) CustomerUserName() pulumi.StringOutput
- func (o LookupDirectoryResultOutput) DirectoryId() pulumi.StringOutput
- func (o LookupDirectoryResultOutput) DirectoryName() pulumi.StringOutput
- func (o LookupDirectoryResultOutput) DirectoryType() pulumi.StringOutput
- func (o LookupDirectoryResultOutput) DnsIpAddresses() pulumi.StringArrayOutput
- func (LookupDirectoryResultOutput) ElementType() reflect.Type
- func (o LookupDirectoryResultOutput) IamRoleId() pulumi.StringOutput
- func (o LookupDirectoryResultOutput) Id() pulumi.StringOutput
- func (o LookupDirectoryResultOutput) IpGroupIds() pulumi.StringArrayOutput
- func (o LookupDirectoryResultOutput) RegistrationCode() pulumi.StringOutput
- func (o LookupDirectoryResultOutput) SelfServicePermissions() GetDirectorySelfServicePermissionArrayOutput
- func (o LookupDirectoryResultOutput) SubnetIds() pulumi.StringArrayOutput
- func (o LookupDirectoryResultOutput) Tags() pulumi.StringMapOutput
- func (o LookupDirectoryResultOutput) ToLookupDirectoryResultOutput() LookupDirectoryResultOutput
- func (o LookupDirectoryResultOutput) ToLookupDirectoryResultOutputWithContext(ctx context.Context) LookupDirectoryResultOutput
- func (o LookupDirectoryResultOutput) WorkspaceAccessProperties() GetDirectoryWorkspaceAccessPropertyArrayOutput
- func (o LookupDirectoryResultOutput) WorkspaceCreationProperties() GetDirectoryWorkspaceCreationPropertyArrayOutput
- func (o LookupDirectoryResultOutput) WorkspaceSecurityGroupId() pulumi.StringOutput
- type LookupWorkspaceArgs
- type LookupWorkspaceOutputArgs
- type LookupWorkspaceResult
- type LookupWorkspaceResultOutput
- func (o LookupWorkspaceResultOutput) BundleId() pulumi.StringOutput
- func (o LookupWorkspaceResultOutput) ComputerName() pulumi.StringOutput
- func (o LookupWorkspaceResultOutput) DirectoryId() pulumi.StringOutput
- func (LookupWorkspaceResultOutput) ElementType() reflect.Type
- func (o LookupWorkspaceResultOutput) Id() pulumi.StringOutput
- func (o LookupWorkspaceResultOutput) IpAddress() pulumi.StringOutput
- func (o LookupWorkspaceResultOutput) RootVolumeEncryptionEnabled() pulumi.BoolOutput
- func (o LookupWorkspaceResultOutput) State() pulumi.StringOutput
- func (o LookupWorkspaceResultOutput) Tags() pulumi.StringMapOutput
- func (o LookupWorkspaceResultOutput) ToLookupWorkspaceResultOutput() LookupWorkspaceResultOutput
- func (o LookupWorkspaceResultOutput) ToLookupWorkspaceResultOutputWithContext(ctx context.Context) LookupWorkspaceResultOutput
- func (o LookupWorkspaceResultOutput) UserName() pulumi.StringOutput
- func (o LookupWorkspaceResultOutput) UserVolumeEncryptionEnabled() pulumi.BoolOutput
- func (o LookupWorkspaceResultOutput) VolumeEncryptionKey() pulumi.StringOutput
- func (o LookupWorkspaceResultOutput) WorkspaceId() pulumi.StringOutput
- func (o LookupWorkspaceResultOutput) WorkspaceProperties() GetWorkspaceWorkspacePropertyArrayOutput
- type Workspace
- type WorkspaceArgs
- type WorkspaceArray
- type WorkspaceArrayInput
- type WorkspaceArrayOutput
- func (WorkspaceArrayOutput) ElementType() reflect.Type
- func (o WorkspaceArrayOutput) Index(i pulumi.IntInput) WorkspaceOutput
- func (o WorkspaceArrayOutput) ToWorkspaceArrayOutput() WorkspaceArrayOutput
- func (o WorkspaceArrayOutput) ToWorkspaceArrayOutputWithContext(ctx context.Context) WorkspaceArrayOutput
- type WorkspaceInput
- type WorkspaceMap
- type WorkspaceMapInput
- type WorkspaceMapOutput
- type WorkspaceOutput
- func (o WorkspaceOutput) BundleId() pulumi.StringOutput
- func (o WorkspaceOutput) ComputerName() pulumi.StringOutput
- func (o WorkspaceOutput) DirectoryId() pulumi.StringOutput
- func (WorkspaceOutput) ElementType() reflect.Type
- func (o WorkspaceOutput) IpAddress() pulumi.StringOutput
- func (o WorkspaceOutput) RootVolumeEncryptionEnabled() pulumi.BoolPtrOutput
- func (o WorkspaceOutput) State() pulumi.StringOutput
- func (o WorkspaceOutput) Tags() pulumi.StringMapOutput
- func (o WorkspaceOutput) TagsAll() pulumi.StringMapOutputdeprecated
- func (o WorkspaceOutput) ToWorkspaceOutput() WorkspaceOutput
- func (o WorkspaceOutput) ToWorkspaceOutputWithContext(ctx context.Context) WorkspaceOutput
- func (o WorkspaceOutput) UserName() pulumi.StringOutput
- func (o WorkspaceOutput) UserVolumeEncryptionEnabled() pulumi.BoolPtrOutput
- func (o WorkspaceOutput) VolumeEncryptionKey() pulumi.StringPtrOutput
- func (o WorkspaceOutput) WorkspaceProperties() WorkspaceWorkspacePropertiesOutput
- type WorkspaceState
- type WorkspaceWorkspaceProperties
- type WorkspaceWorkspacePropertiesArgs
- func (WorkspaceWorkspacePropertiesArgs) ElementType() reflect.Type
- func (i WorkspaceWorkspacePropertiesArgs) ToWorkspaceWorkspacePropertiesOutput() WorkspaceWorkspacePropertiesOutput
- func (i WorkspaceWorkspacePropertiesArgs) ToWorkspaceWorkspacePropertiesOutputWithContext(ctx context.Context) WorkspaceWorkspacePropertiesOutput
- func (i WorkspaceWorkspacePropertiesArgs) ToWorkspaceWorkspacePropertiesPtrOutput() WorkspaceWorkspacePropertiesPtrOutput
- func (i WorkspaceWorkspacePropertiesArgs) ToWorkspaceWorkspacePropertiesPtrOutputWithContext(ctx context.Context) WorkspaceWorkspacePropertiesPtrOutput
- type WorkspaceWorkspacePropertiesInput
- type WorkspaceWorkspacePropertiesOutput
- func (o WorkspaceWorkspacePropertiesOutput) ComputeTypeName() pulumi.StringPtrOutput
- func (WorkspaceWorkspacePropertiesOutput) ElementType() reflect.Type
- func (o WorkspaceWorkspacePropertiesOutput) RootVolumeSizeGib() pulumi.IntPtrOutput
- func (o WorkspaceWorkspacePropertiesOutput) RunningMode() pulumi.StringPtrOutput
- func (o WorkspaceWorkspacePropertiesOutput) RunningModeAutoStopTimeoutInMinutes() pulumi.IntPtrOutput
- func (o WorkspaceWorkspacePropertiesOutput) ToWorkspaceWorkspacePropertiesOutput() WorkspaceWorkspacePropertiesOutput
- func (o WorkspaceWorkspacePropertiesOutput) ToWorkspaceWorkspacePropertiesOutputWithContext(ctx context.Context) WorkspaceWorkspacePropertiesOutput
- func (o WorkspaceWorkspacePropertiesOutput) ToWorkspaceWorkspacePropertiesPtrOutput() WorkspaceWorkspacePropertiesPtrOutput
- func (o WorkspaceWorkspacePropertiesOutput) ToWorkspaceWorkspacePropertiesPtrOutputWithContext(ctx context.Context) WorkspaceWorkspacePropertiesPtrOutput
- func (o WorkspaceWorkspacePropertiesOutput) UserVolumeSizeGib() pulumi.IntPtrOutput
- type WorkspaceWorkspacePropertiesPtrInput
- type WorkspaceWorkspacePropertiesPtrOutput
- func (o WorkspaceWorkspacePropertiesPtrOutput) ComputeTypeName() pulumi.StringPtrOutput
- func (o WorkspaceWorkspacePropertiesPtrOutput) Elem() WorkspaceWorkspacePropertiesOutput
- func (WorkspaceWorkspacePropertiesPtrOutput) ElementType() reflect.Type
- func (o WorkspaceWorkspacePropertiesPtrOutput) RootVolumeSizeGib() pulumi.IntPtrOutput
- func (o WorkspaceWorkspacePropertiesPtrOutput) RunningMode() pulumi.StringPtrOutput
- func (o WorkspaceWorkspacePropertiesPtrOutput) RunningModeAutoStopTimeoutInMinutes() pulumi.IntPtrOutput
- func (o WorkspaceWorkspacePropertiesPtrOutput) ToWorkspaceWorkspacePropertiesPtrOutput() WorkspaceWorkspacePropertiesPtrOutput
- func (o WorkspaceWorkspacePropertiesPtrOutput) ToWorkspaceWorkspacePropertiesPtrOutputWithContext(ctx context.Context) WorkspaceWorkspacePropertiesPtrOutput
- func (o WorkspaceWorkspacePropertiesPtrOutput) UserVolumeSizeGib() pulumi.IntPtrOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConnectionAlias ¶
type ConnectionAlias struct { pulumi.CustomResourceState // The connection string specified for the connection alias. The connection string must be in the form of a fully qualified domain name (FQDN), such as www.example.com. ConnectionString pulumi.StringOutput `pulumi:"connectionString"` // The identifier of the Amazon Web Services account that owns the connection alias. OwnerAccountId pulumi.StringOutput `pulumi:"ownerAccountId"` // The current state of the connection alias. State pulumi.StringOutput `pulumi:"state"` // A map of tags assigned to the WorkSpaces Connection Alias. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapOutput `pulumi:"tags"` // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` Timeouts ConnectionAliasTimeoutsPtrOutput `pulumi:"timeouts"` }
Resource for managing an AWS WorkSpaces Connection Alias.
## Example Usage
### Basic Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/workspaces" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := workspaces.NewConnectionAlias(ctx, "example", &workspaces.ConnectionAliasArgs{ ConnectionString: pulumi.String("testdomain.test"), }) if err != nil { return err } return nil }) }
```
## Import
Using `pulumi import`, import WorkSpaces Connection Alias using the connection alias ID. For example:
```sh $ pulumi import aws:workspaces/connectionAlias:ConnectionAlias example rft-8012925589 ```
func GetConnectionAlias ¶
func GetConnectionAlias(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ConnectionAliasState, opts ...pulumi.ResourceOption) (*ConnectionAlias, error)
GetConnectionAlias gets an existing ConnectionAlias resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewConnectionAlias ¶
func NewConnectionAlias(ctx *pulumi.Context, name string, args *ConnectionAliasArgs, opts ...pulumi.ResourceOption) (*ConnectionAlias, error)
NewConnectionAlias registers a new resource with the given unique name, arguments, and options.
func (*ConnectionAlias) ElementType ¶
func (*ConnectionAlias) ElementType() reflect.Type
func (*ConnectionAlias) ToConnectionAliasOutput ¶
func (i *ConnectionAlias) ToConnectionAliasOutput() ConnectionAliasOutput
func (*ConnectionAlias) ToConnectionAliasOutputWithContext ¶
func (i *ConnectionAlias) ToConnectionAliasOutputWithContext(ctx context.Context) ConnectionAliasOutput
type ConnectionAliasArgs ¶
type ConnectionAliasArgs struct { // The connection string specified for the connection alias. The connection string must be in the form of a fully qualified domain name (FQDN), such as www.example.com. ConnectionString pulumi.StringInput // A map of tags assigned to the WorkSpaces Connection Alias. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput Timeouts ConnectionAliasTimeoutsPtrInput }
The set of arguments for constructing a ConnectionAlias resource.
func (ConnectionAliasArgs) ElementType ¶
func (ConnectionAliasArgs) ElementType() reflect.Type
type ConnectionAliasArray ¶
type ConnectionAliasArray []ConnectionAliasInput
func (ConnectionAliasArray) ElementType ¶
func (ConnectionAliasArray) ElementType() reflect.Type
func (ConnectionAliasArray) ToConnectionAliasArrayOutput ¶
func (i ConnectionAliasArray) ToConnectionAliasArrayOutput() ConnectionAliasArrayOutput
func (ConnectionAliasArray) ToConnectionAliasArrayOutputWithContext ¶
func (i ConnectionAliasArray) ToConnectionAliasArrayOutputWithContext(ctx context.Context) ConnectionAliasArrayOutput
type ConnectionAliasArrayInput ¶
type ConnectionAliasArrayInput interface { pulumi.Input ToConnectionAliasArrayOutput() ConnectionAliasArrayOutput ToConnectionAliasArrayOutputWithContext(context.Context) ConnectionAliasArrayOutput }
ConnectionAliasArrayInput is an input type that accepts ConnectionAliasArray and ConnectionAliasArrayOutput values. You can construct a concrete instance of `ConnectionAliasArrayInput` via:
ConnectionAliasArray{ ConnectionAliasArgs{...} }
type ConnectionAliasArrayOutput ¶
type ConnectionAliasArrayOutput struct{ *pulumi.OutputState }
func (ConnectionAliasArrayOutput) ElementType ¶
func (ConnectionAliasArrayOutput) ElementType() reflect.Type
func (ConnectionAliasArrayOutput) Index ¶
func (o ConnectionAliasArrayOutput) Index(i pulumi.IntInput) ConnectionAliasOutput
func (ConnectionAliasArrayOutput) ToConnectionAliasArrayOutput ¶
func (o ConnectionAliasArrayOutput) ToConnectionAliasArrayOutput() ConnectionAliasArrayOutput
func (ConnectionAliasArrayOutput) ToConnectionAliasArrayOutputWithContext ¶
func (o ConnectionAliasArrayOutput) ToConnectionAliasArrayOutputWithContext(ctx context.Context) ConnectionAliasArrayOutput
type ConnectionAliasInput ¶
type ConnectionAliasInput interface { pulumi.Input ToConnectionAliasOutput() ConnectionAliasOutput ToConnectionAliasOutputWithContext(ctx context.Context) ConnectionAliasOutput }
type ConnectionAliasMap ¶
type ConnectionAliasMap map[string]ConnectionAliasInput
func (ConnectionAliasMap) ElementType ¶
func (ConnectionAliasMap) ElementType() reflect.Type
func (ConnectionAliasMap) ToConnectionAliasMapOutput ¶
func (i ConnectionAliasMap) ToConnectionAliasMapOutput() ConnectionAliasMapOutput
func (ConnectionAliasMap) ToConnectionAliasMapOutputWithContext ¶
func (i ConnectionAliasMap) ToConnectionAliasMapOutputWithContext(ctx context.Context) ConnectionAliasMapOutput
type ConnectionAliasMapInput ¶
type ConnectionAliasMapInput interface { pulumi.Input ToConnectionAliasMapOutput() ConnectionAliasMapOutput ToConnectionAliasMapOutputWithContext(context.Context) ConnectionAliasMapOutput }
ConnectionAliasMapInput is an input type that accepts ConnectionAliasMap and ConnectionAliasMapOutput values. You can construct a concrete instance of `ConnectionAliasMapInput` via:
ConnectionAliasMap{ "key": ConnectionAliasArgs{...} }
type ConnectionAliasMapOutput ¶
type ConnectionAliasMapOutput struct{ *pulumi.OutputState }
func (ConnectionAliasMapOutput) ElementType ¶
func (ConnectionAliasMapOutput) ElementType() reflect.Type
func (ConnectionAliasMapOutput) MapIndex ¶
func (o ConnectionAliasMapOutput) MapIndex(k pulumi.StringInput) ConnectionAliasOutput
func (ConnectionAliasMapOutput) ToConnectionAliasMapOutput ¶
func (o ConnectionAliasMapOutput) ToConnectionAliasMapOutput() ConnectionAliasMapOutput
func (ConnectionAliasMapOutput) ToConnectionAliasMapOutputWithContext ¶
func (o ConnectionAliasMapOutput) ToConnectionAliasMapOutputWithContext(ctx context.Context) ConnectionAliasMapOutput
type ConnectionAliasOutput ¶
type ConnectionAliasOutput struct{ *pulumi.OutputState }
func (ConnectionAliasOutput) ConnectionString ¶
func (o ConnectionAliasOutput) ConnectionString() pulumi.StringOutput
The connection string specified for the connection alias. The connection string must be in the form of a fully qualified domain name (FQDN), such as www.example.com.
func (ConnectionAliasOutput) ElementType ¶
func (ConnectionAliasOutput) ElementType() reflect.Type
func (ConnectionAliasOutput) OwnerAccountId ¶
func (o ConnectionAliasOutput) OwnerAccountId() pulumi.StringOutput
The identifier of the Amazon Web Services account that owns the connection alias.
func (ConnectionAliasOutput) State ¶
func (o ConnectionAliasOutput) State() pulumi.StringOutput
The current state of the connection alias.
func (ConnectionAliasOutput) Tags ¶
func (o ConnectionAliasOutput) Tags() pulumi.StringMapOutput
A map of tags assigned to the WorkSpaces Connection Alias. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
func (ConnectionAliasOutput) TagsAll
deprecated
func (o ConnectionAliasOutput) TagsAll() pulumi.StringMapOutput
A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
Deprecated: Please use `tags` instead.
func (ConnectionAliasOutput) Timeouts ¶
func (o ConnectionAliasOutput) Timeouts() ConnectionAliasTimeoutsPtrOutput
func (ConnectionAliasOutput) ToConnectionAliasOutput ¶
func (o ConnectionAliasOutput) ToConnectionAliasOutput() ConnectionAliasOutput
func (ConnectionAliasOutput) ToConnectionAliasOutputWithContext ¶
func (o ConnectionAliasOutput) ToConnectionAliasOutputWithContext(ctx context.Context) ConnectionAliasOutput
type ConnectionAliasState ¶
type ConnectionAliasState struct { // The connection string specified for the connection alias. The connection string must be in the form of a fully qualified domain name (FQDN), such as www.example.com. ConnectionString pulumi.StringPtrInput // The identifier of the Amazon Web Services account that owns the connection alias. OwnerAccountId pulumi.StringPtrInput // The current state of the connection alias. State pulumi.StringPtrInput // A map of tags assigned to the WorkSpaces Connection Alias. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapInput Timeouts ConnectionAliasTimeoutsPtrInput }
func (ConnectionAliasState) ElementType ¶
func (ConnectionAliasState) ElementType() reflect.Type
type ConnectionAliasTimeouts ¶
type ConnectionAliasTimeouts struct { // A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Create *string `pulumi:"create"` // A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs. Delete *string `pulumi:"delete"` // A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Update *string `pulumi:"update"` }
type ConnectionAliasTimeoutsArgs ¶
type ConnectionAliasTimeoutsArgs struct { // A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Create pulumi.StringPtrInput `pulumi:"create"` // A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs. Delete pulumi.StringPtrInput `pulumi:"delete"` // A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Update pulumi.StringPtrInput `pulumi:"update"` }
func (ConnectionAliasTimeoutsArgs) ElementType ¶
func (ConnectionAliasTimeoutsArgs) ElementType() reflect.Type
func (ConnectionAliasTimeoutsArgs) ToConnectionAliasTimeoutsOutput ¶
func (i ConnectionAliasTimeoutsArgs) ToConnectionAliasTimeoutsOutput() ConnectionAliasTimeoutsOutput
func (ConnectionAliasTimeoutsArgs) ToConnectionAliasTimeoutsOutputWithContext ¶
func (i ConnectionAliasTimeoutsArgs) ToConnectionAliasTimeoutsOutputWithContext(ctx context.Context) ConnectionAliasTimeoutsOutput
func (ConnectionAliasTimeoutsArgs) ToConnectionAliasTimeoutsPtrOutput ¶
func (i ConnectionAliasTimeoutsArgs) ToConnectionAliasTimeoutsPtrOutput() ConnectionAliasTimeoutsPtrOutput
func (ConnectionAliasTimeoutsArgs) ToConnectionAliasTimeoutsPtrOutputWithContext ¶
func (i ConnectionAliasTimeoutsArgs) ToConnectionAliasTimeoutsPtrOutputWithContext(ctx context.Context) ConnectionAliasTimeoutsPtrOutput
type ConnectionAliasTimeoutsInput ¶
type ConnectionAliasTimeoutsInput interface { pulumi.Input ToConnectionAliasTimeoutsOutput() ConnectionAliasTimeoutsOutput ToConnectionAliasTimeoutsOutputWithContext(context.Context) ConnectionAliasTimeoutsOutput }
ConnectionAliasTimeoutsInput is an input type that accepts ConnectionAliasTimeoutsArgs and ConnectionAliasTimeoutsOutput values. You can construct a concrete instance of `ConnectionAliasTimeoutsInput` via:
ConnectionAliasTimeoutsArgs{...}
type ConnectionAliasTimeoutsOutput ¶
type ConnectionAliasTimeoutsOutput struct{ *pulumi.OutputState }
func (ConnectionAliasTimeoutsOutput) Create ¶
func (o ConnectionAliasTimeoutsOutput) Create() pulumi.StringPtrOutput
A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
func (ConnectionAliasTimeoutsOutput) Delete ¶
func (o ConnectionAliasTimeoutsOutput) Delete() pulumi.StringPtrOutput
A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
func (ConnectionAliasTimeoutsOutput) ElementType ¶
func (ConnectionAliasTimeoutsOutput) ElementType() reflect.Type
func (ConnectionAliasTimeoutsOutput) ToConnectionAliasTimeoutsOutput ¶
func (o ConnectionAliasTimeoutsOutput) ToConnectionAliasTimeoutsOutput() ConnectionAliasTimeoutsOutput
func (ConnectionAliasTimeoutsOutput) ToConnectionAliasTimeoutsOutputWithContext ¶
func (o ConnectionAliasTimeoutsOutput) ToConnectionAliasTimeoutsOutputWithContext(ctx context.Context) ConnectionAliasTimeoutsOutput
func (ConnectionAliasTimeoutsOutput) ToConnectionAliasTimeoutsPtrOutput ¶
func (o ConnectionAliasTimeoutsOutput) ToConnectionAliasTimeoutsPtrOutput() ConnectionAliasTimeoutsPtrOutput
func (ConnectionAliasTimeoutsOutput) ToConnectionAliasTimeoutsPtrOutputWithContext ¶
func (o ConnectionAliasTimeoutsOutput) ToConnectionAliasTimeoutsPtrOutputWithContext(ctx context.Context) ConnectionAliasTimeoutsPtrOutput
func (ConnectionAliasTimeoutsOutput) Update ¶
func (o ConnectionAliasTimeoutsOutput) Update() pulumi.StringPtrOutput
A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
type ConnectionAliasTimeoutsPtrInput ¶
type ConnectionAliasTimeoutsPtrInput interface { pulumi.Input ToConnectionAliasTimeoutsPtrOutput() ConnectionAliasTimeoutsPtrOutput ToConnectionAliasTimeoutsPtrOutputWithContext(context.Context) ConnectionAliasTimeoutsPtrOutput }
ConnectionAliasTimeoutsPtrInput is an input type that accepts ConnectionAliasTimeoutsArgs, ConnectionAliasTimeoutsPtr and ConnectionAliasTimeoutsPtrOutput values. You can construct a concrete instance of `ConnectionAliasTimeoutsPtrInput` via:
ConnectionAliasTimeoutsArgs{...} or: nil
func ConnectionAliasTimeoutsPtr ¶
func ConnectionAliasTimeoutsPtr(v *ConnectionAliasTimeoutsArgs) ConnectionAliasTimeoutsPtrInput
type ConnectionAliasTimeoutsPtrOutput ¶
type ConnectionAliasTimeoutsPtrOutput struct{ *pulumi.OutputState }
func (ConnectionAliasTimeoutsPtrOutput) Create ¶
func (o ConnectionAliasTimeoutsPtrOutput) Create() pulumi.StringPtrOutput
A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
func (ConnectionAliasTimeoutsPtrOutput) Delete ¶
func (o ConnectionAliasTimeoutsPtrOutput) Delete() pulumi.StringPtrOutput
A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
func (ConnectionAliasTimeoutsPtrOutput) Elem ¶
func (o ConnectionAliasTimeoutsPtrOutput) Elem() ConnectionAliasTimeoutsOutput
func (ConnectionAliasTimeoutsPtrOutput) ElementType ¶
func (ConnectionAliasTimeoutsPtrOutput) ElementType() reflect.Type
func (ConnectionAliasTimeoutsPtrOutput) ToConnectionAliasTimeoutsPtrOutput ¶
func (o ConnectionAliasTimeoutsPtrOutput) ToConnectionAliasTimeoutsPtrOutput() ConnectionAliasTimeoutsPtrOutput
func (ConnectionAliasTimeoutsPtrOutput) ToConnectionAliasTimeoutsPtrOutputWithContext ¶
func (o ConnectionAliasTimeoutsPtrOutput) ToConnectionAliasTimeoutsPtrOutputWithContext(ctx context.Context) ConnectionAliasTimeoutsPtrOutput
func (ConnectionAliasTimeoutsPtrOutput) Update ¶
func (o ConnectionAliasTimeoutsPtrOutput) Update() pulumi.StringPtrOutput
A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
type Directory ¶
type Directory struct { pulumi.CustomResourceState // The directory alias. Alias pulumi.StringOutput `pulumi:"alias"` // The user name for the service account. CustomerUserName pulumi.StringOutput `pulumi:"customerUserName"` // The directory identifier for registration in WorkSpaces service. DirectoryId pulumi.StringOutput `pulumi:"directoryId"` // The name of the directory. DirectoryName pulumi.StringOutput `pulumi:"directoryName"` // The directory type. DirectoryType pulumi.StringOutput `pulumi:"directoryType"` // The IP addresses of the DNS servers for the directory. DnsIpAddresses pulumi.StringArrayOutput `pulumi:"dnsIpAddresses"` // The identifier of the IAM role. This is the role that allows Amazon WorkSpaces to make calls to other services, such as Amazon EC2, on your behalf. IamRoleId pulumi.StringOutput `pulumi:"iamRoleId"` // The identifiers of the IP access control groups associated with the directory. IpGroupIds pulumi.StringArrayOutput `pulumi:"ipGroupIds"` // The registration code for the directory. This is the code that users enter in their Amazon WorkSpaces client application to connect to the directory. RegistrationCode pulumi.StringOutput `pulumi:"registrationCode"` // Permissions to enable or disable self-service capabilities. Defined below. SelfServicePermissions DirectorySelfServicePermissionsOutput `pulumi:"selfServicePermissions"` // The identifiers of the subnets where the directory resides. SubnetIds pulumi.StringArrayOutput `pulumi:"subnetIds"` // A map of tags assigned to the WorkSpaces directory. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapOutput `pulumi:"tags"` // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` // Specifies which devices and operating systems users can use to access their WorkSpaces. Defined below. WorkspaceAccessProperties DirectoryWorkspaceAccessPropertiesOutput `pulumi:"workspaceAccessProperties"` // Default properties that are used for creating WorkSpaces. Defined below. WorkspaceCreationProperties DirectoryWorkspaceCreationPropertiesOutput `pulumi:"workspaceCreationProperties"` // The identifier of the security group that is assigned to new WorkSpaces. WorkspaceSecurityGroupId pulumi.StringOutput `pulumi:"workspaceSecurityGroupId"` }
Provides a WorkSpaces directory in AWS WorkSpaces Service.
> **NOTE:** AWS WorkSpaces service requires [`workspaces_DefaultRole`](https://docs.aws.amazon.com/workspaces/latest/adminguide/workspaces-access-control.html#create-default-role) IAM role to operate normally.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/directoryservice" "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2" "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/iam" "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/workspaces" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleVpc, err := ec2.NewVpc(ctx, "example", &ec2.VpcArgs{ CidrBlock: pulumi.String("10.0.0.0/16"), }) if err != nil { return err } exampleA, err := ec2.NewSubnet(ctx, "example_a", &ec2.SubnetArgs{ VpcId: exampleVpc.ID(), AvailabilityZone: pulumi.String("us-east-1a"), CidrBlock: pulumi.String("10.0.0.0/24"), }) if err != nil { return err } exampleB, err := ec2.NewSubnet(ctx, "example_b", &ec2.SubnetArgs{ VpcId: exampleVpc.ID(), AvailabilityZone: pulumi.String("us-east-1b"), CidrBlock: pulumi.String("10.0.1.0/24"), }) if err != nil { return err } exampleDirectory, err := directoryservice.NewDirectory(ctx, "example", &directoryservice.DirectoryArgs{ Name: pulumi.String("corp.example.com"), Password: pulumi.String("#S1ncerely"), Size: pulumi.String("Small"), VpcSettings: &directoryservice.DirectoryVpcSettingsArgs{ VpcId: exampleVpc.ID(), SubnetIds: pulumi.StringArray{ exampleA.ID(), exampleB.ID(), }, }, }) if err != nil { return err } workspaces, err := iam.GetPolicyDocument(ctx, &iam.GetPolicyDocumentArgs{ Statements: []iam.GetPolicyDocumentStatement{ { Actions: []string{ "sts:AssumeRole", }, Principals: []iam.GetPolicyDocumentStatementPrincipal{ { Type: "Service", Identifiers: []string{ "workspaces.amazonaws.com", }, }, }, }, }, }, nil) if err != nil { return err } workspacesDefault, err := iam.NewRole(ctx, "workspaces_default", &iam.RoleArgs{ Name: pulumi.String("workspaces_DefaultRole"), AssumeRolePolicy: pulumi.String(workspaces.Json), }) if err != nil { return err } workspacesDefaultServiceAccess, err := iam.NewRolePolicyAttachment(ctx, "workspaces_default_service_access", &iam.RolePolicyAttachmentArgs{ Role: workspacesDefault.Name, PolicyArn: pulumi.String("arn:aws:iam::aws:policy/AmazonWorkSpacesServiceAccess"), }) if err != nil { return err } workspacesDefaultSelfServiceAccess, err := iam.NewRolePolicyAttachment(ctx, "workspaces_default_self_service_access", &iam.RolePolicyAttachmentArgs{ Role: workspacesDefault.Name, PolicyArn: pulumi.String("arn:aws:iam::aws:policy/AmazonWorkSpacesSelfServiceAccess"), }) if err != nil { return err } exampleC, err := ec2.NewSubnet(ctx, "example_c", &ec2.SubnetArgs{ VpcId: exampleVpc.ID(), AvailabilityZone: pulumi.String("us-east-1c"), CidrBlock: pulumi.String("10.0.2.0/24"), }) if err != nil { return err } exampleD, err := ec2.NewSubnet(ctx, "example_d", &ec2.SubnetArgs{ VpcId: exampleVpc.ID(), AvailabilityZone: pulumi.String("us-east-1d"), CidrBlock: pulumi.String("10.0.3.0/24"), }) if err != nil { return err } _, err = workspaces.NewDirectory(ctx, "example", &workspaces.DirectoryArgs{ DirectoryId: exampleDirectory.ID(), SubnetIds: pulumi.StringArray{ exampleC.ID(), exampleD.ID(), }, Tags: pulumi.StringMap{ "Example": pulumi.String("true"), }, SelfServicePermissions: &workspaces.DirectorySelfServicePermissionsArgs{ ChangeComputeType: pulumi.Bool(true), IncreaseVolumeSize: pulumi.Bool(true), RebuildWorkspace: pulumi.Bool(true), RestartWorkspace: pulumi.Bool(true), SwitchRunningMode: pulumi.Bool(true), }, WorkspaceAccessProperties: &workspaces.DirectoryWorkspaceAccessPropertiesArgs{ DeviceTypeAndroid: pulumi.String("ALLOW"), DeviceTypeChromeos: pulumi.String("ALLOW"), DeviceTypeIos: pulumi.String("ALLOW"), DeviceTypeLinux: pulumi.String("DENY"), DeviceTypeOsx: pulumi.String("ALLOW"), DeviceTypeWeb: pulumi.String("DENY"), DeviceTypeWindows: pulumi.String("DENY"), DeviceTypeZeroclient: pulumi.String("DENY"), }, WorkspaceCreationProperties: &workspaces.DirectoryWorkspaceCreationPropertiesArgs{ CustomSecurityGroupId: pulumi.Any(exampleAwsSecurityGroup.Id), DefaultOu: pulumi.String("OU=AWS,DC=Workgroup,DC=Example,DC=com"), EnableInternetAccess: pulumi.Bool(true), EnableMaintenanceMode: pulumi.Bool(true), UserEnabledAsLocalAdministrator: pulumi.Bool(true), }, }, pulumi.DependsOn([]pulumi.Resource{ workspacesDefaultServiceAccess, workspacesDefaultSelfServiceAccess, })) if err != nil { return err } return nil }) }
```
### IP Groups
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/workspaces" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleIpGroup, err := workspaces.NewIpGroup(ctx, "example", &workspaces.IpGroupArgs{ Name: pulumi.String("example"), }) if err != nil { return err } _, err = workspaces.NewDirectory(ctx, "example", &workspaces.DirectoryArgs{ DirectoryId: pulumi.Any(exampleAwsDirectoryServiceDirectory.Id), IpGroupIds: pulumi.StringArray{ exampleIpGroup.ID(), }, }) if err != nil { return err } return nil }) }
```
## Import
Using `pulumi import`, import Workspaces directory using the directory ID. For example:
```sh $ pulumi import aws:workspaces/directory:Directory main d-4444444444 ```
func GetDirectory ¶
func GetDirectory(ctx *pulumi.Context, name string, id pulumi.IDInput, state *DirectoryState, opts ...pulumi.ResourceOption) (*Directory, error)
GetDirectory gets an existing Directory resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewDirectory ¶
func NewDirectory(ctx *pulumi.Context, name string, args *DirectoryArgs, opts ...pulumi.ResourceOption) (*Directory, error)
NewDirectory registers a new resource with the given unique name, arguments, and options.
func (*Directory) ElementType ¶
func (*Directory) ToDirectoryOutput ¶
func (i *Directory) ToDirectoryOutput() DirectoryOutput
func (*Directory) ToDirectoryOutputWithContext ¶
func (i *Directory) ToDirectoryOutputWithContext(ctx context.Context) DirectoryOutput
type DirectoryArgs ¶
type DirectoryArgs struct { // The directory identifier for registration in WorkSpaces service. DirectoryId pulumi.StringInput // The identifiers of the IP access control groups associated with the directory. IpGroupIds pulumi.StringArrayInput // Permissions to enable or disable self-service capabilities. Defined below. SelfServicePermissions DirectorySelfServicePermissionsPtrInput // The identifiers of the subnets where the directory resides. SubnetIds pulumi.StringArrayInput // A map of tags assigned to the WorkSpaces directory. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // Specifies which devices and operating systems users can use to access their WorkSpaces. Defined below. WorkspaceAccessProperties DirectoryWorkspaceAccessPropertiesPtrInput // Default properties that are used for creating WorkSpaces. Defined below. WorkspaceCreationProperties DirectoryWorkspaceCreationPropertiesPtrInput }
The set of arguments for constructing a Directory resource.
func (DirectoryArgs) ElementType ¶
func (DirectoryArgs) ElementType() reflect.Type
type DirectoryArray ¶
type DirectoryArray []DirectoryInput
func (DirectoryArray) ElementType ¶
func (DirectoryArray) ElementType() reflect.Type
func (DirectoryArray) ToDirectoryArrayOutput ¶
func (i DirectoryArray) ToDirectoryArrayOutput() DirectoryArrayOutput
func (DirectoryArray) ToDirectoryArrayOutputWithContext ¶
func (i DirectoryArray) ToDirectoryArrayOutputWithContext(ctx context.Context) DirectoryArrayOutput
type DirectoryArrayInput ¶
type DirectoryArrayInput interface { pulumi.Input ToDirectoryArrayOutput() DirectoryArrayOutput ToDirectoryArrayOutputWithContext(context.Context) DirectoryArrayOutput }
DirectoryArrayInput is an input type that accepts DirectoryArray and DirectoryArrayOutput values. You can construct a concrete instance of `DirectoryArrayInput` via:
DirectoryArray{ DirectoryArgs{...} }
type DirectoryArrayOutput ¶
type DirectoryArrayOutput struct{ *pulumi.OutputState }
func (DirectoryArrayOutput) ElementType ¶
func (DirectoryArrayOutput) ElementType() reflect.Type
func (DirectoryArrayOutput) Index ¶
func (o DirectoryArrayOutput) Index(i pulumi.IntInput) DirectoryOutput
func (DirectoryArrayOutput) ToDirectoryArrayOutput ¶
func (o DirectoryArrayOutput) ToDirectoryArrayOutput() DirectoryArrayOutput
func (DirectoryArrayOutput) ToDirectoryArrayOutputWithContext ¶
func (o DirectoryArrayOutput) ToDirectoryArrayOutputWithContext(ctx context.Context) DirectoryArrayOutput
type DirectoryInput ¶
type DirectoryInput interface { pulumi.Input ToDirectoryOutput() DirectoryOutput ToDirectoryOutputWithContext(ctx context.Context) DirectoryOutput }
type DirectoryMap ¶
type DirectoryMap map[string]DirectoryInput
func (DirectoryMap) ElementType ¶
func (DirectoryMap) ElementType() reflect.Type
func (DirectoryMap) ToDirectoryMapOutput ¶
func (i DirectoryMap) ToDirectoryMapOutput() DirectoryMapOutput
func (DirectoryMap) ToDirectoryMapOutputWithContext ¶
func (i DirectoryMap) ToDirectoryMapOutputWithContext(ctx context.Context) DirectoryMapOutput
type DirectoryMapInput ¶
type DirectoryMapInput interface { pulumi.Input ToDirectoryMapOutput() DirectoryMapOutput ToDirectoryMapOutputWithContext(context.Context) DirectoryMapOutput }
DirectoryMapInput is an input type that accepts DirectoryMap and DirectoryMapOutput values. You can construct a concrete instance of `DirectoryMapInput` via:
DirectoryMap{ "key": DirectoryArgs{...} }
type DirectoryMapOutput ¶
type DirectoryMapOutput struct{ *pulumi.OutputState }
func (DirectoryMapOutput) ElementType ¶
func (DirectoryMapOutput) ElementType() reflect.Type
func (DirectoryMapOutput) MapIndex ¶
func (o DirectoryMapOutput) MapIndex(k pulumi.StringInput) DirectoryOutput
func (DirectoryMapOutput) ToDirectoryMapOutput ¶
func (o DirectoryMapOutput) ToDirectoryMapOutput() DirectoryMapOutput
func (DirectoryMapOutput) ToDirectoryMapOutputWithContext ¶
func (o DirectoryMapOutput) ToDirectoryMapOutputWithContext(ctx context.Context) DirectoryMapOutput
type DirectoryOutput ¶
type DirectoryOutput struct{ *pulumi.OutputState }
func (DirectoryOutput) Alias ¶
func (o DirectoryOutput) Alias() pulumi.StringOutput
The directory alias.
func (DirectoryOutput) CustomerUserName ¶
func (o DirectoryOutput) CustomerUserName() pulumi.StringOutput
The user name for the service account.
func (DirectoryOutput) DirectoryId ¶
func (o DirectoryOutput) DirectoryId() pulumi.StringOutput
The directory identifier for registration in WorkSpaces service.
func (DirectoryOutput) DirectoryName ¶
func (o DirectoryOutput) DirectoryName() pulumi.StringOutput
The name of the directory.
func (DirectoryOutput) DirectoryType ¶
func (o DirectoryOutput) DirectoryType() pulumi.StringOutput
The directory type.
func (DirectoryOutput) DnsIpAddresses ¶
func (o DirectoryOutput) DnsIpAddresses() pulumi.StringArrayOutput
The IP addresses of the DNS servers for the directory.
func (DirectoryOutput) ElementType ¶
func (DirectoryOutput) ElementType() reflect.Type
func (DirectoryOutput) IamRoleId ¶
func (o DirectoryOutput) IamRoleId() pulumi.StringOutput
The identifier of the IAM role. This is the role that allows Amazon WorkSpaces to make calls to other services, such as Amazon EC2, on your behalf.
func (DirectoryOutput) IpGroupIds ¶
func (o DirectoryOutput) IpGroupIds() pulumi.StringArrayOutput
The identifiers of the IP access control groups associated with the directory.
func (DirectoryOutput) RegistrationCode ¶
func (o DirectoryOutput) RegistrationCode() pulumi.StringOutput
The registration code for the directory. This is the code that users enter in their Amazon WorkSpaces client application to connect to the directory.
func (DirectoryOutput) SelfServicePermissions ¶
func (o DirectoryOutput) SelfServicePermissions() DirectorySelfServicePermissionsOutput
Permissions to enable or disable self-service capabilities. Defined below.
func (DirectoryOutput) SubnetIds ¶
func (o DirectoryOutput) SubnetIds() pulumi.StringArrayOutput
The identifiers of the subnets where the directory resides.
func (DirectoryOutput) Tags ¶
func (o DirectoryOutput) Tags() pulumi.StringMapOutput
A map of tags assigned to the WorkSpaces directory. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
func (DirectoryOutput) TagsAll
deprecated
func (o DirectoryOutput) TagsAll() pulumi.StringMapOutput
A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
Deprecated: Please use `tags` instead.
func (DirectoryOutput) ToDirectoryOutput ¶
func (o DirectoryOutput) ToDirectoryOutput() DirectoryOutput
func (DirectoryOutput) ToDirectoryOutputWithContext ¶
func (o DirectoryOutput) ToDirectoryOutputWithContext(ctx context.Context) DirectoryOutput
func (DirectoryOutput) WorkspaceAccessProperties ¶
func (o DirectoryOutput) WorkspaceAccessProperties() DirectoryWorkspaceAccessPropertiesOutput
Specifies which devices and operating systems users can use to access their WorkSpaces. Defined below.
func (DirectoryOutput) WorkspaceCreationProperties ¶
func (o DirectoryOutput) WorkspaceCreationProperties() DirectoryWorkspaceCreationPropertiesOutput
Default properties that are used for creating WorkSpaces. Defined below.
func (DirectoryOutput) WorkspaceSecurityGroupId ¶
func (o DirectoryOutput) WorkspaceSecurityGroupId() pulumi.StringOutput
The identifier of the security group that is assigned to new WorkSpaces.
type DirectorySelfServicePermissions ¶
type DirectorySelfServicePermissions struct { // Whether WorkSpaces directory users can change the compute type (bundle) for their workspace. Default `false`. ChangeComputeType *bool `pulumi:"changeComputeType"` // Whether WorkSpaces directory users can increase the volume size of the drives on their workspace. Default `false`. IncreaseVolumeSize *bool `pulumi:"increaseVolumeSize"` // Whether WorkSpaces directory users can rebuild the operating system of a workspace to its original state. Default `false`. RebuildWorkspace *bool `pulumi:"rebuildWorkspace"` // Whether WorkSpaces directory users can restart their workspace. Default `true`. RestartWorkspace *bool `pulumi:"restartWorkspace"` // Whether WorkSpaces directory users can switch the running mode of their workspace. Default `false`. SwitchRunningMode *bool `pulumi:"switchRunningMode"` }
type DirectorySelfServicePermissionsArgs ¶
type DirectorySelfServicePermissionsArgs struct { // Whether WorkSpaces directory users can change the compute type (bundle) for their workspace. Default `false`. ChangeComputeType pulumi.BoolPtrInput `pulumi:"changeComputeType"` // Whether WorkSpaces directory users can increase the volume size of the drives on their workspace. Default `false`. IncreaseVolumeSize pulumi.BoolPtrInput `pulumi:"increaseVolumeSize"` // Whether WorkSpaces directory users can rebuild the operating system of a workspace to its original state. Default `false`. RebuildWorkspace pulumi.BoolPtrInput `pulumi:"rebuildWorkspace"` // Whether WorkSpaces directory users can restart their workspace. Default `true`. RestartWorkspace pulumi.BoolPtrInput `pulumi:"restartWorkspace"` // Whether WorkSpaces directory users can switch the running mode of their workspace. Default `false`. SwitchRunningMode pulumi.BoolPtrInput `pulumi:"switchRunningMode"` }
func (DirectorySelfServicePermissionsArgs) ElementType ¶
func (DirectorySelfServicePermissionsArgs) ElementType() reflect.Type
func (DirectorySelfServicePermissionsArgs) ToDirectorySelfServicePermissionsOutput ¶
func (i DirectorySelfServicePermissionsArgs) ToDirectorySelfServicePermissionsOutput() DirectorySelfServicePermissionsOutput
func (DirectorySelfServicePermissionsArgs) ToDirectorySelfServicePermissionsOutputWithContext ¶
func (i DirectorySelfServicePermissionsArgs) ToDirectorySelfServicePermissionsOutputWithContext(ctx context.Context) DirectorySelfServicePermissionsOutput
func (DirectorySelfServicePermissionsArgs) ToDirectorySelfServicePermissionsPtrOutput ¶
func (i DirectorySelfServicePermissionsArgs) ToDirectorySelfServicePermissionsPtrOutput() DirectorySelfServicePermissionsPtrOutput
func (DirectorySelfServicePermissionsArgs) ToDirectorySelfServicePermissionsPtrOutputWithContext ¶
func (i DirectorySelfServicePermissionsArgs) ToDirectorySelfServicePermissionsPtrOutputWithContext(ctx context.Context) DirectorySelfServicePermissionsPtrOutput
type DirectorySelfServicePermissionsInput ¶
type DirectorySelfServicePermissionsInput interface { pulumi.Input ToDirectorySelfServicePermissionsOutput() DirectorySelfServicePermissionsOutput ToDirectorySelfServicePermissionsOutputWithContext(context.Context) DirectorySelfServicePermissionsOutput }
DirectorySelfServicePermissionsInput is an input type that accepts DirectorySelfServicePermissionsArgs and DirectorySelfServicePermissionsOutput values. You can construct a concrete instance of `DirectorySelfServicePermissionsInput` via:
DirectorySelfServicePermissionsArgs{...}
type DirectorySelfServicePermissionsOutput ¶
type DirectorySelfServicePermissionsOutput struct{ *pulumi.OutputState }
func (DirectorySelfServicePermissionsOutput) ChangeComputeType ¶
func (o DirectorySelfServicePermissionsOutput) ChangeComputeType() pulumi.BoolPtrOutput
Whether WorkSpaces directory users can change the compute type (bundle) for their workspace. Default `false`.
func (DirectorySelfServicePermissionsOutput) ElementType ¶
func (DirectorySelfServicePermissionsOutput) ElementType() reflect.Type
func (DirectorySelfServicePermissionsOutput) IncreaseVolumeSize ¶
func (o DirectorySelfServicePermissionsOutput) IncreaseVolumeSize() pulumi.BoolPtrOutput
Whether WorkSpaces directory users can increase the volume size of the drives on their workspace. Default `false`.
func (DirectorySelfServicePermissionsOutput) RebuildWorkspace ¶
func (o DirectorySelfServicePermissionsOutput) RebuildWorkspace() pulumi.BoolPtrOutput
Whether WorkSpaces directory users can rebuild the operating system of a workspace to its original state. Default `false`.
func (DirectorySelfServicePermissionsOutput) RestartWorkspace ¶
func (o DirectorySelfServicePermissionsOutput) RestartWorkspace() pulumi.BoolPtrOutput
Whether WorkSpaces directory users can restart their workspace. Default `true`.
func (DirectorySelfServicePermissionsOutput) SwitchRunningMode ¶
func (o DirectorySelfServicePermissionsOutput) SwitchRunningMode() pulumi.BoolPtrOutput
Whether WorkSpaces directory users can switch the running mode of their workspace. Default `false`.
func (DirectorySelfServicePermissionsOutput) ToDirectorySelfServicePermissionsOutput ¶
func (o DirectorySelfServicePermissionsOutput) ToDirectorySelfServicePermissionsOutput() DirectorySelfServicePermissionsOutput
func (DirectorySelfServicePermissionsOutput) ToDirectorySelfServicePermissionsOutputWithContext ¶
func (o DirectorySelfServicePermissionsOutput) ToDirectorySelfServicePermissionsOutputWithContext(ctx context.Context) DirectorySelfServicePermissionsOutput
func (DirectorySelfServicePermissionsOutput) ToDirectorySelfServicePermissionsPtrOutput ¶
func (o DirectorySelfServicePermissionsOutput) ToDirectorySelfServicePermissionsPtrOutput() DirectorySelfServicePermissionsPtrOutput
func (DirectorySelfServicePermissionsOutput) ToDirectorySelfServicePermissionsPtrOutputWithContext ¶
func (o DirectorySelfServicePermissionsOutput) ToDirectorySelfServicePermissionsPtrOutputWithContext(ctx context.Context) DirectorySelfServicePermissionsPtrOutput
type DirectorySelfServicePermissionsPtrInput ¶
type DirectorySelfServicePermissionsPtrInput interface { pulumi.Input ToDirectorySelfServicePermissionsPtrOutput() DirectorySelfServicePermissionsPtrOutput ToDirectorySelfServicePermissionsPtrOutputWithContext(context.Context) DirectorySelfServicePermissionsPtrOutput }
DirectorySelfServicePermissionsPtrInput is an input type that accepts DirectorySelfServicePermissionsArgs, DirectorySelfServicePermissionsPtr and DirectorySelfServicePermissionsPtrOutput values. You can construct a concrete instance of `DirectorySelfServicePermissionsPtrInput` via:
DirectorySelfServicePermissionsArgs{...} or: nil
func DirectorySelfServicePermissionsPtr ¶
func DirectorySelfServicePermissionsPtr(v *DirectorySelfServicePermissionsArgs) DirectorySelfServicePermissionsPtrInput
type DirectorySelfServicePermissionsPtrOutput ¶
type DirectorySelfServicePermissionsPtrOutput struct{ *pulumi.OutputState }
func (DirectorySelfServicePermissionsPtrOutput) ChangeComputeType ¶
func (o DirectorySelfServicePermissionsPtrOutput) ChangeComputeType() pulumi.BoolPtrOutput
Whether WorkSpaces directory users can change the compute type (bundle) for their workspace. Default `false`.
func (DirectorySelfServicePermissionsPtrOutput) ElementType ¶
func (DirectorySelfServicePermissionsPtrOutput) ElementType() reflect.Type
func (DirectorySelfServicePermissionsPtrOutput) IncreaseVolumeSize ¶
func (o DirectorySelfServicePermissionsPtrOutput) IncreaseVolumeSize() pulumi.BoolPtrOutput
Whether WorkSpaces directory users can increase the volume size of the drives on their workspace. Default `false`.
func (DirectorySelfServicePermissionsPtrOutput) RebuildWorkspace ¶
func (o DirectorySelfServicePermissionsPtrOutput) RebuildWorkspace() pulumi.BoolPtrOutput
Whether WorkSpaces directory users can rebuild the operating system of a workspace to its original state. Default `false`.
func (DirectorySelfServicePermissionsPtrOutput) RestartWorkspace ¶
func (o DirectorySelfServicePermissionsPtrOutput) RestartWorkspace() pulumi.BoolPtrOutput
Whether WorkSpaces directory users can restart their workspace. Default `true`.
func (DirectorySelfServicePermissionsPtrOutput) SwitchRunningMode ¶
func (o DirectorySelfServicePermissionsPtrOutput) SwitchRunningMode() pulumi.BoolPtrOutput
Whether WorkSpaces directory users can switch the running mode of their workspace. Default `false`.
func (DirectorySelfServicePermissionsPtrOutput) ToDirectorySelfServicePermissionsPtrOutput ¶
func (o DirectorySelfServicePermissionsPtrOutput) ToDirectorySelfServicePermissionsPtrOutput() DirectorySelfServicePermissionsPtrOutput
func (DirectorySelfServicePermissionsPtrOutput) ToDirectorySelfServicePermissionsPtrOutputWithContext ¶
func (o DirectorySelfServicePermissionsPtrOutput) ToDirectorySelfServicePermissionsPtrOutputWithContext(ctx context.Context) DirectorySelfServicePermissionsPtrOutput
type DirectoryState ¶
type DirectoryState struct { // The directory alias. Alias pulumi.StringPtrInput // The user name for the service account. CustomerUserName pulumi.StringPtrInput // The directory identifier for registration in WorkSpaces service. DirectoryId pulumi.StringPtrInput // The name of the directory. DirectoryName pulumi.StringPtrInput // The directory type. DirectoryType pulumi.StringPtrInput // The IP addresses of the DNS servers for the directory. DnsIpAddresses pulumi.StringArrayInput // The identifier of the IAM role. This is the role that allows Amazon WorkSpaces to make calls to other services, such as Amazon EC2, on your behalf. IamRoleId pulumi.StringPtrInput // The identifiers of the IP access control groups associated with the directory. IpGroupIds pulumi.StringArrayInput // The registration code for the directory. This is the code that users enter in their Amazon WorkSpaces client application to connect to the directory. RegistrationCode pulumi.StringPtrInput // Permissions to enable or disable self-service capabilities. Defined below. SelfServicePermissions DirectorySelfServicePermissionsPtrInput // The identifiers of the subnets where the directory resides. SubnetIds pulumi.StringArrayInput // A map of tags assigned to the WorkSpaces directory. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapInput // Specifies which devices and operating systems users can use to access their WorkSpaces. Defined below. WorkspaceAccessProperties DirectoryWorkspaceAccessPropertiesPtrInput // Default properties that are used for creating WorkSpaces. Defined below. WorkspaceCreationProperties DirectoryWorkspaceCreationPropertiesPtrInput // The identifier of the security group that is assigned to new WorkSpaces. WorkspaceSecurityGroupId pulumi.StringPtrInput }
func (DirectoryState) ElementType ¶
func (DirectoryState) ElementType() reflect.Type
type DirectoryWorkspaceAccessProperties ¶
type DirectoryWorkspaceAccessProperties struct { // Indicates whether users can use Android devices to access their WorkSpaces. DeviceTypeAndroid *string `pulumi:"deviceTypeAndroid"` // Indicates whether users can use Chromebooks to access their WorkSpaces. DeviceTypeChromeos *string `pulumi:"deviceTypeChromeos"` // Indicates whether users can use iOS devices to access their WorkSpaces. DeviceTypeIos *string `pulumi:"deviceTypeIos"` // Indicates whether users can use Linux clients to access their WorkSpaces. DeviceTypeLinux *string `pulumi:"deviceTypeLinux"` // Indicates whether users can use macOS clients to access their WorkSpaces. DeviceTypeOsx *string `pulumi:"deviceTypeOsx"` // Indicates whether users can access their WorkSpaces through a web browser. DeviceTypeWeb *string `pulumi:"deviceTypeWeb"` // Indicates whether users can use Windows clients to access their WorkSpaces. DeviceTypeWindows *string `pulumi:"deviceTypeWindows"` // Indicates whether users can use zero client devices to access their WorkSpaces. DeviceTypeZeroclient *string `pulumi:"deviceTypeZeroclient"` }
type DirectoryWorkspaceAccessPropertiesArgs ¶
type DirectoryWorkspaceAccessPropertiesArgs struct { // Indicates whether users can use Android devices to access their WorkSpaces. DeviceTypeAndroid pulumi.StringPtrInput `pulumi:"deviceTypeAndroid"` // Indicates whether users can use Chromebooks to access their WorkSpaces. DeviceTypeChromeos pulumi.StringPtrInput `pulumi:"deviceTypeChromeos"` // Indicates whether users can use iOS devices to access their WorkSpaces. DeviceTypeIos pulumi.StringPtrInput `pulumi:"deviceTypeIos"` // Indicates whether users can use Linux clients to access their WorkSpaces. DeviceTypeLinux pulumi.StringPtrInput `pulumi:"deviceTypeLinux"` // Indicates whether users can use macOS clients to access their WorkSpaces. DeviceTypeOsx pulumi.StringPtrInput `pulumi:"deviceTypeOsx"` // Indicates whether users can access their WorkSpaces through a web browser. DeviceTypeWeb pulumi.StringPtrInput `pulumi:"deviceTypeWeb"` // Indicates whether users can use Windows clients to access their WorkSpaces. DeviceTypeWindows pulumi.StringPtrInput `pulumi:"deviceTypeWindows"` // Indicates whether users can use zero client devices to access their WorkSpaces. DeviceTypeZeroclient pulumi.StringPtrInput `pulumi:"deviceTypeZeroclient"` }
func (DirectoryWorkspaceAccessPropertiesArgs) ElementType ¶
func (DirectoryWorkspaceAccessPropertiesArgs) ElementType() reflect.Type
func (DirectoryWorkspaceAccessPropertiesArgs) ToDirectoryWorkspaceAccessPropertiesOutput ¶
func (i DirectoryWorkspaceAccessPropertiesArgs) ToDirectoryWorkspaceAccessPropertiesOutput() DirectoryWorkspaceAccessPropertiesOutput
func (DirectoryWorkspaceAccessPropertiesArgs) ToDirectoryWorkspaceAccessPropertiesOutputWithContext ¶
func (i DirectoryWorkspaceAccessPropertiesArgs) ToDirectoryWorkspaceAccessPropertiesOutputWithContext(ctx context.Context) DirectoryWorkspaceAccessPropertiesOutput
func (DirectoryWorkspaceAccessPropertiesArgs) ToDirectoryWorkspaceAccessPropertiesPtrOutput ¶
func (i DirectoryWorkspaceAccessPropertiesArgs) ToDirectoryWorkspaceAccessPropertiesPtrOutput() DirectoryWorkspaceAccessPropertiesPtrOutput
func (DirectoryWorkspaceAccessPropertiesArgs) ToDirectoryWorkspaceAccessPropertiesPtrOutputWithContext ¶
func (i DirectoryWorkspaceAccessPropertiesArgs) ToDirectoryWorkspaceAccessPropertiesPtrOutputWithContext(ctx context.Context) DirectoryWorkspaceAccessPropertiesPtrOutput
type DirectoryWorkspaceAccessPropertiesInput ¶
type DirectoryWorkspaceAccessPropertiesInput interface { pulumi.Input ToDirectoryWorkspaceAccessPropertiesOutput() DirectoryWorkspaceAccessPropertiesOutput ToDirectoryWorkspaceAccessPropertiesOutputWithContext(context.Context) DirectoryWorkspaceAccessPropertiesOutput }
DirectoryWorkspaceAccessPropertiesInput is an input type that accepts DirectoryWorkspaceAccessPropertiesArgs and DirectoryWorkspaceAccessPropertiesOutput values. You can construct a concrete instance of `DirectoryWorkspaceAccessPropertiesInput` via:
DirectoryWorkspaceAccessPropertiesArgs{...}
type DirectoryWorkspaceAccessPropertiesOutput ¶
type DirectoryWorkspaceAccessPropertiesOutput struct{ *pulumi.OutputState }
func (DirectoryWorkspaceAccessPropertiesOutput) DeviceTypeAndroid ¶
func (o DirectoryWorkspaceAccessPropertiesOutput) DeviceTypeAndroid() pulumi.StringPtrOutput
Indicates whether users can use Android devices to access their WorkSpaces.
func (DirectoryWorkspaceAccessPropertiesOutput) DeviceTypeChromeos ¶
func (o DirectoryWorkspaceAccessPropertiesOutput) DeviceTypeChromeos() pulumi.StringPtrOutput
Indicates whether users can use Chromebooks to access their WorkSpaces.
func (DirectoryWorkspaceAccessPropertiesOutput) DeviceTypeIos ¶
func (o DirectoryWorkspaceAccessPropertiesOutput) DeviceTypeIos() pulumi.StringPtrOutput
Indicates whether users can use iOS devices to access their WorkSpaces.
func (DirectoryWorkspaceAccessPropertiesOutput) DeviceTypeLinux ¶
func (o DirectoryWorkspaceAccessPropertiesOutput) DeviceTypeLinux() pulumi.StringPtrOutput
Indicates whether users can use Linux clients to access their WorkSpaces.
func (DirectoryWorkspaceAccessPropertiesOutput) DeviceTypeOsx ¶
func (o DirectoryWorkspaceAccessPropertiesOutput) DeviceTypeOsx() pulumi.StringPtrOutput
Indicates whether users can use macOS clients to access their WorkSpaces.
func (DirectoryWorkspaceAccessPropertiesOutput) DeviceTypeWeb ¶
func (o DirectoryWorkspaceAccessPropertiesOutput) DeviceTypeWeb() pulumi.StringPtrOutput
Indicates whether users can access their WorkSpaces through a web browser.
func (DirectoryWorkspaceAccessPropertiesOutput) DeviceTypeWindows ¶
func (o DirectoryWorkspaceAccessPropertiesOutput) DeviceTypeWindows() pulumi.StringPtrOutput
Indicates whether users can use Windows clients to access their WorkSpaces.
func (DirectoryWorkspaceAccessPropertiesOutput) DeviceTypeZeroclient ¶
func (o DirectoryWorkspaceAccessPropertiesOutput) DeviceTypeZeroclient() pulumi.StringPtrOutput
Indicates whether users can use zero client devices to access their WorkSpaces.
func (DirectoryWorkspaceAccessPropertiesOutput) ElementType ¶
func (DirectoryWorkspaceAccessPropertiesOutput) ElementType() reflect.Type
func (DirectoryWorkspaceAccessPropertiesOutput) ToDirectoryWorkspaceAccessPropertiesOutput ¶
func (o DirectoryWorkspaceAccessPropertiesOutput) ToDirectoryWorkspaceAccessPropertiesOutput() DirectoryWorkspaceAccessPropertiesOutput
func (DirectoryWorkspaceAccessPropertiesOutput) ToDirectoryWorkspaceAccessPropertiesOutputWithContext ¶
func (o DirectoryWorkspaceAccessPropertiesOutput) ToDirectoryWorkspaceAccessPropertiesOutputWithContext(ctx context.Context) DirectoryWorkspaceAccessPropertiesOutput
func (DirectoryWorkspaceAccessPropertiesOutput) ToDirectoryWorkspaceAccessPropertiesPtrOutput ¶
func (o DirectoryWorkspaceAccessPropertiesOutput) ToDirectoryWorkspaceAccessPropertiesPtrOutput() DirectoryWorkspaceAccessPropertiesPtrOutput
func (DirectoryWorkspaceAccessPropertiesOutput) ToDirectoryWorkspaceAccessPropertiesPtrOutputWithContext ¶
func (o DirectoryWorkspaceAccessPropertiesOutput) ToDirectoryWorkspaceAccessPropertiesPtrOutputWithContext(ctx context.Context) DirectoryWorkspaceAccessPropertiesPtrOutput
type DirectoryWorkspaceAccessPropertiesPtrInput ¶
type DirectoryWorkspaceAccessPropertiesPtrInput interface { pulumi.Input ToDirectoryWorkspaceAccessPropertiesPtrOutput() DirectoryWorkspaceAccessPropertiesPtrOutput ToDirectoryWorkspaceAccessPropertiesPtrOutputWithContext(context.Context) DirectoryWorkspaceAccessPropertiesPtrOutput }
DirectoryWorkspaceAccessPropertiesPtrInput is an input type that accepts DirectoryWorkspaceAccessPropertiesArgs, DirectoryWorkspaceAccessPropertiesPtr and DirectoryWorkspaceAccessPropertiesPtrOutput values. You can construct a concrete instance of `DirectoryWorkspaceAccessPropertiesPtrInput` via:
DirectoryWorkspaceAccessPropertiesArgs{...} or: nil
func DirectoryWorkspaceAccessPropertiesPtr ¶
func DirectoryWorkspaceAccessPropertiesPtr(v *DirectoryWorkspaceAccessPropertiesArgs) DirectoryWorkspaceAccessPropertiesPtrInput
type DirectoryWorkspaceAccessPropertiesPtrOutput ¶
type DirectoryWorkspaceAccessPropertiesPtrOutput struct{ *pulumi.OutputState }
func (DirectoryWorkspaceAccessPropertiesPtrOutput) DeviceTypeAndroid ¶
func (o DirectoryWorkspaceAccessPropertiesPtrOutput) DeviceTypeAndroid() pulumi.StringPtrOutput
Indicates whether users can use Android devices to access their WorkSpaces.
func (DirectoryWorkspaceAccessPropertiesPtrOutput) DeviceTypeChromeos ¶
func (o DirectoryWorkspaceAccessPropertiesPtrOutput) DeviceTypeChromeos() pulumi.StringPtrOutput
Indicates whether users can use Chromebooks to access their WorkSpaces.
func (DirectoryWorkspaceAccessPropertiesPtrOutput) DeviceTypeIos ¶
func (o DirectoryWorkspaceAccessPropertiesPtrOutput) DeviceTypeIos() pulumi.StringPtrOutput
Indicates whether users can use iOS devices to access their WorkSpaces.
func (DirectoryWorkspaceAccessPropertiesPtrOutput) DeviceTypeLinux ¶
func (o DirectoryWorkspaceAccessPropertiesPtrOutput) DeviceTypeLinux() pulumi.StringPtrOutput
Indicates whether users can use Linux clients to access their WorkSpaces.
func (DirectoryWorkspaceAccessPropertiesPtrOutput) DeviceTypeOsx ¶
func (o DirectoryWorkspaceAccessPropertiesPtrOutput) DeviceTypeOsx() pulumi.StringPtrOutput
Indicates whether users can use macOS clients to access their WorkSpaces.
func (DirectoryWorkspaceAccessPropertiesPtrOutput) DeviceTypeWeb ¶
func (o DirectoryWorkspaceAccessPropertiesPtrOutput) DeviceTypeWeb() pulumi.StringPtrOutput
Indicates whether users can access their WorkSpaces through a web browser.
func (DirectoryWorkspaceAccessPropertiesPtrOutput) DeviceTypeWindows ¶
func (o DirectoryWorkspaceAccessPropertiesPtrOutput) DeviceTypeWindows() pulumi.StringPtrOutput
Indicates whether users can use Windows clients to access their WorkSpaces.
func (DirectoryWorkspaceAccessPropertiesPtrOutput) DeviceTypeZeroclient ¶
func (o DirectoryWorkspaceAccessPropertiesPtrOutput) DeviceTypeZeroclient() pulumi.StringPtrOutput
Indicates whether users can use zero client devices to access their WorkSpaces.
func (DirectoryWorkspaceAccessPropertiesPtrOutput) ElementType ¶
func (DirectoryWorkspaceAccessPropertiesPtrOutput) ElementType() reflect.Type
func (DirectoryWorkspaceAccessPropertiesPtrOutput) ToDirectoryWorkspaceAccessPropertiesPtrOutput ¶
func (o DirectoryWorkspaceAccessPropertiesPtrOutput) ToDirectoryWorkspaceAccessPropertiesPtrOutput() DirectoryWorkspaceAccessPropertiesPtrOutput
func (DirectoryWorkspaceAccessPropertiesPtrOutput) ToDirectoryWorkspaceAccessPropertiesPtrOutputWithContext ¶
func (o DirectoryWorkspaceAccessPropertiesPtrOutput) ToDirectoryWorkspaceAccessPropertiesPtrOutputWithContext(ctx context.Context) DirectoryWorkspaceAccessPropertiesPtrOutput
type DirectoryWorkspaceCreationProperties ¶
type DirectoryWorkspaceCreationProperties struct { // The identifier of your custom security group. Should relate to the same VPC, where workspaces reside in. CustomSecurityGroupId *string `pulumi:"customSecurityGroupId"` // The default organizational unit (OU) for your WorkSpace directories. Should conform `"OU=<value>,DC=<value>,...,DC=<value>"` pattern. DefaultOu *string `pulumi:"defaultOu"` // Indicates whether internet access is enabled for your WorkSpaces. EnableInternetAccess *bool `pulumi:"enableInternetAccess"` // Indicates whether maintenance mode is enabled for your WorkSpaces. For more information, see [WorkSpace Maintenance](https://docs.aws.amazon.com/workspaces/latest/adminguide/workspace-maintenance.html).. EnableMaintenanceMode *bool `pulumi:"enableMaintenanceMode"` // Indicates whether users are local administrators of their WorkSpaces. UserEnabledAsLocalAdministrator *bool `pulumi:"userEnabledAsLocalAdministrator"` }
type DirectoryWorkspaceCreationPropertiesArgs ¶
type DirectoryWorkspaceCreationPropertiesArgs struct { // The identifier of your custom security group. Should relate to the same VPC, where workspaces reside in. CustomSecurityGroupId pulumi.StringPtrInput `pulumi:"customSecurityGroupId"` // The default organizational unit (OU) for your WorkSpace directories. Should conform `"OU=<value>,DC=<value>,...,DC=<value>"` pattern. DefaultOu pulumi.StringPtrInput `pulumi:"defaultOu"` // Indicates whether internet access is enabled for your WorkSpaces. EnableInternetAccess pulumi.BoolPtrInput `pulumi:"enableInternetAccess"` // Indicates whether maintenance mode is enabled for your WorkSpaces. For more information, see [WorkSpace Maintenance](https://docs.aws.amazon.com/workspaces/latest/adminguide/workspace-maintenance.html).. EnableMaintenanceMode pulumi.BoolPtrInput `pulumi:"enableMaintenanceMode"` // Indicates whether users are local administrators of their WorkSpaces. UserEnabledAsLocalAdministrator pulumi.BoolPtrInput `pulumi:"userEnabledAsLocalAdministrator"` }
func (DirectoryWorkspaceCreationPropertiesArgs) ElementType ¶
func (DirectoryWorkspaceCreationPropertiesArgs) ElementType() reflect.Type
func (DirectoryWorkspaceCreationPropertiesArgs) ToDirectoryWorkspaceCreationPropertiesOutput ¶
func (i DirectoryWorkspaceCreationPropertiesArgs) ToDirectoryWorkspaceCreationPropertiesOutput() DirectoryWorkspaceCreationPropertiesOutput
func (DirectoryWorkspaceCreationPropertiesArgs) ToDirectoryWorkspaceCreationPropertiesOutputWithContext ¶
func (i DirectoryWorkspaceCreationPropertiesArgs) ToDirectoryWorkspaceCreationPropertiesOutputWithContext(ctx context.Context) DirectoryWorkspaceCreationPropertiesOutput
func (DirectoryWorkspaceCreationPropertiesArgs) ToDirectoryWorkspaceCreationPropertiesPtrOutput ¶
func (i DirectoryWorkspaceCreationPropertiesArgs) ToDirectoryWorkspaceCreationPropertiesPtrOutput() DirectoryWorkspaceCreationPropertiesPtrOutput
func (DirectoryWorkspaceCreationPropertiesArgs) ToDirectoryWorkspaceCreationPropertiesPtrOutputWithContext ¶
func (i DirectoryWorkspaceCreationPropertiesArgs) ToDirectoryWorkspaceCreationPropertiesPtrOutputWithContext(ctx context.Context) DirectoryWorkspaceCreationPropertiesPtrOutput
type DirectoryWorkspaceCreationPropertiesInput ¶
type DirectoryWorkspaceCreationPropertiesInput interface { pulumi.Input ToDirectoryWorkspaceCreationPropertiesOutput() DirectoryWorkspaceCreationPropertiesOutput ToDirectoryWorkspaceCreationPropertiesOutputWithContext(context.Context) DirectoryWorkspaceCreationPropertiesOutput }
DirectoryWorkspaceCreationPropertiesInput is an input type that accepts DirectoryWorkspaceCreationPropertiesArgs and DirectoryWorkspaceCreationPropertiesOutput values. You can construct a concrete instance of `DirectoryWorkspaceCreationPropertiesInput` via:
DirectoryWorkspaceCreationPropertiesArgs{...}
type DirectoryWorkspaceCreationPropertiesOutput ¶
type DirectoryWorkspaceCreationPropertiesOutput struct{ *pulumi.OutputState }
func (DirectoryWorkspaceCreationPropertiesOutput) CustomSecurityGroupId ¶
func (o DirectoryWorkspaceCreationPropertiesOutput) CustomSecurityGroupId() pulumi.StringPtrOutput
The identifier of your custom security group. Should relate to the same VPC, where workspaces reside in.
func (DirectoryWorkspaceCreationPropertiesOutput) DefaultOu ¶
func (o DirectoryWorkspaceCreationPropertiesOutput) DefaultOu() pulumi.StringPtrOutput
The default organizational unit (OU) for your WorkSpace directories. Should conform `"OU=<value>,DC=<value>,...,DC=<value>"` pattern.
func (DirectoryWorkspaceCreationPropertiesOutput) ElementType ¶
func (DirectoryWorkspaceCreationPropertiesOutput) ElementType() reflect.Type
func (DirectoryWorkspaceCreationPropertiesOutput) EnableInternetAccess ¶
func (o DirectoryWorkspaceCreationPropertiesOutput) EnableInternetAccess() pulumi.BoolPtrOutput
Indicates whether internet access is enabled for your WorkSpaces.
func (DirectoryWorkspaceCreationPropertiesOutput) EnableMaintenanceMode ¶
func (o DirectoryWorkspaceCreationPropertiesOutput) EnableMaintenanceMode() pulumi.BoolPtrOutput
Indicates whether maintenance mode is enabled for your WorkSpaces. For more information, see [WorkSpace Maintenance](https://docs.aws.amazon.com/workspaces/latest/adminguide/workspace-maintenance.html)..
func (DirectoryWorkspaceCreationPropertiesOutput) ToDirectoryWorkspaceCreationPropertiesOutput ¶
func (o DirectoryWorkspaceCreationPropertiesOutput) ToDirectoryWorkspaceCreationPropertiesOutput() DirectoryWorkspaceCreationPropertiesOutput
func (DirectoryWorkspaceCreationPropertiesOutput) ToDirectoryWorkspaceCreationPropertiesOutputWithContext ¶
func (o DirectoryWorkspaceCreationPropertiesOutput) ToDirectoryWorkspaceCreationPropertiesOutputWithContext(ctx context.Context) DirectoryWorkspaceCreationPropertiesOutput
func (DirectoryWorkspaceCreationPropertiesOutput) ToDirectoryWorkspaceCreationPropertiesPtrOutput ¶
func (o DirectoryWorkspaceCreationPropertiesOutput) ToDirectoryWorkspaceCreationPropertiesPtrOutput() DirectoryWorkspaceCreationPropertiesPtrOutput
func (DirectoryWorkspaceCreationPropertiesOutput) ToDirectoryWorkspaceCreationPropertiesPtrOutputWithContext ¶
func (o DirectoryWorkspaceCreationPropertiesOutput) ToDirectoryWorkspaceCreationPropertiesPtrOutputWithContext(ctx context.Context) DirectoryWorkspaceCreationPropertiesPtrOutput
func (DirectoryWorkspaceCreationPropertiesOutput) UserEnabledAsLocalAdministrator ¶
func (o DirectoryWorkspaceCreationPropertiesOutput) UserEnabledAsLocalAdministrator() pulumi.BoolPtrOutput
Indicates whether users are local administrators of their WorkSpaces.
type DirectoryWorkspaceCreationPropertiesPtrInput ¶
type DirectoryWorkspaceCreationPropertiesPtrInput interface { pulumi.Input ToDirectoryWorkspaceCreationPropertiesPtrOutput() DirectoryWorkspaceCreationPropertiesPtrOutput ToDirectoryWorkspaceCreationPropertiesPtrOutputWithContext(context.Context) DirectoryWorkspaceCreationPropertiesPtrOutput }
DirectoryWorkspaceCreationPropertiesPtrInput is an input type that accepts DirectoryWorkspaceCreationPropertiesArgs, DirectoryWorkspaceCreationPropertiesPtr and DirectoryWorkspaceCreationPropertiesPtrOutput values. You can construct a concrete instance of `DirectoryWorkspaceCreationPropertiesPtrInput` via:
DirectoryWorkspaceCreationPropertiesArgs{...} or: nil
func DirectoryWorkspaceCreationPropertiesPtr ¶
func DirectoryWorkspaceCreationPropertiesPtr(v *DirectoryWorkspaceCreationPropertiesArgs) DirectoryWorkspaceCreationPropertiesPtrInput
type DirectoryWorkspaceCreationPropertiesPtrOutput ¶
type DirectoryWorkspaceCreationPropertiesPtrOutput struct{ *pulumi.OutputState }
func (DirectoryWorkspaceCreationPropertiesPtrOutput) CustomSecurityGroupId ¶
func (o DirectoryWorkspaceCreationPropertiesPtrOutput) CustomSecurityGroupId() pulumi.StringPtrOutput
The identifier of your custom security group. Should relate to the same VPC, where workspaces reside in.
func (DirectoryWorkspaceCreationPropertiesPtrOutput) DefaultOu ¶
func (o DirectoryWorkspaceCreationPropertiesPtrOutput) DefaultOu() pulumi.StringPtrOutput
The default organizational unit (OU) for your WorkSpace directories. Should conform `"OU=<value>,DC=<value>,...,DC=<value>"` pattern.
func (DirectoryWorkspaceCreationPropertiesPtrOutput) ElementType ¶
func (DirectoryWorkspaceCreationPropertiesPtrOutput) ElementType() reflect.Type
func (DirectoryWorkspaceCreationPropertiesPtrOutput) EnableInternetAccess ¶
func (o DirectoryWorkspaceCreationPropertiesPtrOutput) EnableInternetAccess() pulumi.BoolPtrOutput
Indicates whether internet access is enabled for your WorkSpaces.
func (DirectoryWorkspaceCreationPropertiesPtrOutput) EnableMaintenanceMode ¶
func (o DirectoryWorkspaceCreationPropertiesPtrOutput) EnableMaintenanceMode() pulumi.BoolPtrOutput
Indicates whether maintenance mode is enabled for your WorkSpaces. For more information, see [WorkSpace Maintenance](https://docs.aws.amazon.com/workspaces/latest/adminguide/workspace-maintenance.html)..
func (DirectoryWorkspaceCreationPropertiesPtrOutput) ToDirectoryWorkspaceCreationPropertiesPtrOutput ¶
func (o DirectoryWorkspaceCreationPropertiesPtrOutput) ToDirectoryWorkspaceCreationPropertiesPtrOutput() DirectoryWorkspaceCreationPropertiesPtrOutput
func (DirectoryWorkspaceCreationPropertiesPtrOutput) ToDirectoryWorkspaceCreationPropertiesPtrOutputWithContext ¶
func (o DirectoryWorkspaceCreationPropertiesPtrOutput) ToDirectoryWorkspaceCreationPropertiesPtrOutputWithContext(ctx context.Context) DirectoryWorkspaceCreationPropertiesPtrOutput
func (DirectoryWorkspaceCreationPropertiesPtrOutput) UserEnabledAsLocalAdministrator ¶
func (o DirectoryWorkspaceCreationPropertiesPtrOutput) UserEnabledAsLocalAdministrator() pulumi.BoolPtrOutput
Indicates whether users are local administrators of their WorkSpaces.
type GetBundleArgs ¶
type GetBundleArgs struct { // ID of the bundle. BundleId *string `pulumi:"bundleId"` // Name of the bundle. You cannot combine this parameter with `bundleId`. Name *string `pulumi:"name"` // Owner of the bundles. You have to leave it blank for own bundles. You cannot combine this parameter with `bundleId`. Owner *string `pulumi:"owner"` }
A collection of arguments for invoking getBundle.
type GetBundleComputeType ¶
type GetBundleComputeType struct { // Name of the bundle. You cannot combine this parameter with `bundleId`. Name string `pulumi:"name"` }
type GetBundleComputeTypeArgs ¶
type GetBundleComputeTypeArgs struct { // Name of the bundle. You cannot combine this parameter with `bundleId`. Name pulumi.StringInput `pulumi:"name"` }
func (GetBundleComputeTypeArgs) ElementType ¶
func (GetBundleComputeTypeArgs) ElementType() reflect.Type
func (GetBundleComputeTypeArgs) ToGetBundleComputeTypeOutput ¶
func (i GetBundleComputeTypeArgs) ToGetBundleComputeTypeOutput() GetBundleComputeTypeOutput
func (GetBundleComputeTypeArgs) ToGetBundleComputeTypeOutputWithContext ¶
func (i GetBundleComputeTypeArgs) ToGetBundleComputeTypeOutputWithContext(ctx context.Context) GetBundleComputeTypeOutput
type GetBundleComputeTypeArray ¶
type GetBundleComputeTypeArray []GetBundleComputeTypeInput
func (GetBundleComputeTypeArray) ElementType ¶
func (GetBundleComputeTypeArray) ElementType() reflect.Type
func (GetBundleComputeTypeArray) ToGetBundleComputeTypeArrayOutput ¶
func (i GetBundleComputeTypeArray) ToGetBundleComputeTypeArrayOutput() GetBundleComputeTypeArrayOutput
func (GetBundleComputeTypeArray) ToGetBundleComputeTypeArrayOutputWithContext ¶
func (i GetBundleComputeTypeArray) ToGetBundleComputeTypeArrayOutputWithContext(ctx context.Context) GetBundleComputeTypeArrayOutput
type GetBundleComputeTypeArrayInput ¶
type GetBundleComputeTypeArrayInput interface { pulumi.Input ToGetBundleComputeTypeArrayOutput() GetBundleComputeTypeArrayOutput ToGetBundleComputeTypeArrayOutputWithContext(context.Context) GetBundleComputeTypeArrayOutput }
GetBundleComputeTypeArrayInput is an input type that accepts GetBundleComputeTypeArray and GetBundleComputeTypeArrayOutput values. You can construct a concrete instance of `GetBundleComputeTypeArrayInput` via:
GetBundleComputeTypeArray{ GetBundleComputeTypeArgs{...} }
type GetBundleComputeTypeArrayOutput ¶
type GetBundleComputeTypeArrayOutput struct{ *pulumi.OutputState }
func (GetBundleComputeTypeArrayOutput) ElementType ¶
func (GetBundleComputeTypeArrayOutput) ElementType() reflect.Type
func (GetBundleComputeTypeArrayOutput) Index ¶
func (o GetBundleComputeTypeArrayOutput) Index(i pulumi.IntInput) GetBundleComputeTypeOutput
func (GetBundleComputeTypeArrayOutput) ToGetBundleComputeTypeArrayOutput ¶
func (o GetBundleComputeTypeArrayOutput) ToGetBundleComputeTypeArrayOutput() GetBundleComputeTypeArrayOutput
func (GetBundleComputeTypeArrayOutput) ToGetBundleComputeTypeArrayOutputWithContext ¶
func (o GetBundleComputeTypeArrayOutput) ToGetBundleComputeTypeArrayOutputWithContext(ctx context.Context) GetBundleComputeTypeArrayOutput
type GetBundleComputeTypeInput ¶
type GetBundleComputeTypeInput interface { pulumi.Input ToGetBundleComputeTypeOutput() GetBundleComputeTypeOutput ToGetBundleComputeTypeOutputWithContext(context.Context) GetBundleComputeTypeOutput }
GetBundleComputeTypeInput is an input type that accepts GetBundleComputeTypeArgs and GetBundleComputeTypeOutput values. You can construct a concrete instance of `GetBundleComputeTypeInput` via:
GetBundleComputeTypeArgs{...}
type GetBundleComputeTypeOutput ¶
type GetBundleComputeTypeOutput struct{ *pulumi.OutputState }
func (GetBundleComputeTypeOutput) ElementType ¶
func (GetBundleComputeTypeOutput) ElementType() reflect.Type
func (GetBundleComputeTypeOutput) Name ¶
func (o GetBundleComputeTypeOutput) Name() pulumi.StringOutput
Name of the bundle. You cannot combine this parameter with `bundleId`.
func (GetBundleComputeTypeOutput) ToGetBundleComputeTypeOutput ¶
func (o GetBundleComputeTypeOutput) ToGetBundleComputeTypeOutput() GetBundleComputeTypeOutput
func (GetBundleComputeTypeOutput) ToGetBundleComputeTypeOutputWithContext ¶
func (o GetBundleComputeTypeOutput) ToGetBundleComputeTypeOutputWithContext(ctx context.Context) GetBundleComputeTypeOutput
type GetBundleOutputArgs ¶
type GetBundleOutputArgs struct { // ID of the bundle. BundleId pulumi.StringPtrInput `pulumi:"bundleId"` // Name of the bundle. You cannot combine this parameter with `bundleId`. Name pulumi.StringPtrInput `pulumi:"name"` // Owner of the bundles. You have to leave it blank for own bundles. You cannot combine this parameter with `bundleId`. Owner pulumi.StringPtrInput `pulumi:"owner"` }
A collection of arguments for invoking getBundle.
func (GetBundleOutputArgs) ElementType ¶
func (GetBundleOutputArgs) ElementType() reflect.Type
type GetBundleResult ¶
type GetBundleResult struct { // The ID of the bundle. BundleId *string `pulumi:"bundleId"` // The compute type. See supported fields below. ComputeTypes []GetBundleComputeType `pulumi:"computeTypes"` // The description of the bundle. Description string `pulumi:"description"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // Name of the compute type. Name *string `pulumi:"name"` // The owner of the bundle. Owner *string `pulumi:"owner"` // The root volume. See supported fields below. RootStorages []GetBundleRootStorage `pulumi:"rootStorages"` // The user storage. See supported fields below. UserStorages []GetBundleUserStorage `pulumi:"userStorages"` }
A collection of values returned by getBundle.
func GetBundle ¶
func GetBundle(ctx *pulumi.Context, args *GetBundleArgs, opts ...pulumi.InvokeOption) (*GetBundleResult, error)
Retrieve information about an AWS WorkSpaces bundle.
## Example Usage
### By ID
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/workspaces" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := workspaces.GetBundle(ctx, &workspaces.GetBundleArgs{ BundleId: pulumi.StringRef("wsb-b0s22j3d7"), }, nil) if err != nil { return err } return nil }) }
```
### By Owner & Name
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/workspaces" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := workspaces.GetBundle(ctx, &workspaces.GetBundleArgs{ Owner: pulumi.StringRef("AMAZON"), Name: pulumi.StringRef("Value with Windows 10 and Office 2016"), }, nil) if err != nil { return err } return nil }) }
```
type GetBundleResultOutput ¶
type GetBundleResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getBundle.
func GetBundleOutput ¶
func GetBundleOutput(ctx *pulumi.Context, args GetBundleOutputArgs, opts ...pulumi.InvokeOption) GetBundleResultOutput
func (GetBundleResultOutput) BundleId ¶
func (o GetBundleResultOutput) BundleId() pulumi.StringPtrOutput
The ID of the bundle.
func (GetBundleResultOutput) ComputeTypes ¶
func (o GetBundleResultOutput) ComputeTypes() GetBundleComputeTypeArrayOutput
The compute type. See supported fields below.
func (GetBundleResultOutput) Description ¶
func (o GetBundleResultOutput) Description() pulumi.StringOutput
The description of the bundle.
func (GetBundleResultOutput) ElementType ¶
func (GetBundleResultOutput) ElementType() reflect.Type
func (GetBundleResultOutput) Id ¶
func (o GetBundleResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetBundleResultOutput) Name ¶
func (o GetBundleResultOutput) Name() pulumi.StringPtrOutput
Name of the compute type.
func (GetBundleResultOutput) Owner ¶
func (o GetBundleResultOutput) Owner() pulumi.StringPtrOutput
The owner of the bundle.
func (GetBundleResultOutput) RootStorages ¶
func (o GetBundleResultOutput) RootStorages() GetBundleRootStorageArrayOutput
The root volume. See supported fields below.
func (GetBundleResultOutput) ToGetBundleResultOutput ¶
func (o GetBundleResultOutput) ToGetBundleResultOutput() GetBundleResultOutput
func (GetBundleResultOutput) ToGetBundleResultOutputWithContext ¶
func (o GetBundleResultOutput) ToGetBundleResultOutputWithContext(ctx context.Context) GetBundleResultOutput
func (GetBundleResultOutput) UserStorages ¶
func (o GetBundleResultOutput) UserStorages() GetBundleUserStorageArrayOutput
The user storage. See supported fields below.
type GetBundleRootStorage ¶
type GetBundleRootStorage struct { // Size of the user storage. Capacity string `pulumi:"capacity"` }
type GetBundleRootStorageArgs ¶
type GetBundleRootStorageArgs struct { // Size of the user storage. Capacity pulumi.StringInput `pulumi:"capacity"` }
func (GetBundleRootStorageArgs) ElementType ¶
func (GetBundleRootStorageArgs) ElementType() reflect.Type
func (GetBundleRootStorageArgs) ToGetBundleRootStorageOutput ¶
func (i GetBundleRootStorageArgs) ToGetBundleRootStorageOutput() GetBundleRootStorageOutput
func (GetBundleRootStorageArgs) ToGetBundleRootStorageOutputWithContext ¶
func (i GetBundleRootStorageArgs) ToGetBundleRootStorageOutputWithContext(ctx context.Context) GetBundleRootStorageOutput
type GetBundleRootStorageArray ¶
type GetBundleRootStorageArray []GetBundleRootStorageInput
func (GetBundleRootStorageArray) ElementType ¶
func (GetBundleRootStorageArray) ElementType() reflect.Type
func (GetBundleRootStorageArray) ToGetBundleRootStorageArrayOutput ¶
func (i GetBundleRootStorageArray) ToGetBundleRootStorageArrayOutput() GetBundleRootStorageArrayOutput
func (GetBundleRootStorageArray) ToGetBundleRootStorageArrayOutputWithContext ¶
func (i GetBundleRootStorageArray) ToGetBundleRootStorageArrayOutputWithContext(ctx context.Context) GetBundleRootStorageArrayOutput
type GetBundleRootStorageArrayInput ¶
type GetBundleRootStorageArrayInput interface { pulumi.Input ToGetBundleRootStorageArrayOutput() GetBundleRootStorageArrayOutput ToGetBundleRootStorageArrayOutputWithContext(context.Context) GetBundleRootStorageArrayOutput }
GetBundleRootStorageArrayInput is an input type that accepts GetBundleRootStorageArray and GetBundleRootStorageArrayOutput values. You can construct a concrete instance of `GetBundleRootStorageArrayInput` via:
GetBundleRootStorageArray{ GetBundleRootStorageArgs{...} }
type GetBundleRootStorageArrayOutput ¶
type GetBundleRootStorageArrayOutput struct{ *pulumi.OutputState }
func (GetBundleRootStorageArrayOutput) ElementType ¶
func (GetBundleRootStorageArrayOutput) ElementType() reflect.Type
func (GetBundleRootStorageArrayOutput) Index ¶
func (o GetBundleRootStorageArrayOutput) Index(i pulumi.IntInput) GetBundleRootStorageOutput
func (GetBundleRootStorageArrayOutput) ToGetBundleRootStorageArrayOutput ¶
func (o GetBundleRootStorageArrayOutput) ToGetBundleRootStorageArrayOutput() GetBundleRootStorageArrayOutput
func (GetBundleRootStorageArrayOutput) ToGetBundleRootStorageArrayOutputWithContext ¶
func (o GetBundleRootStorageArrayOutput) ToGetBundleRootStorageArrayOutputWithContext(ctx context.Context) GetBundleRootStorageArrayOutput
type GetBundleRootStorageInput ¶
type GetBundleRootStorageInput interface { pulumi.Input ToGetBundleRootStorageOutput() GetBundleRootStorageOutput ToGetBundleRootStorageOutputWithContext(context.Context) GetBundleRootStorageOutput }
GetBundleRootStorageInput is an input type that accepts GetBundleRootStorageArgs and GetBundleRootStorageOutput values. You can construct a concrete instance of `GetBundleRootStorageInput` via:
GetBundleRootStorageArgs{...}
type GetBundleRootStorageOutput ¶
type GetBundleRootStorageOutput struct{ *pulumi.OutputState }
func (GetBundleRootStorageOutput) Capacity ¶
func (o GetBundleRootStorageOutput) Capacity() pulumi.StringOutput
Size of the user storage.
func (GetBundleRootStorageOutput) ElementType ¶
func (GetBundleRootStorageOutput) ElementType() reflect.Type
func (GetBundleRootStorageOutput) ToGetBundleRootStorageOutput ¶
func (o GetBundleRootStorageOutput) ToGetBundleRootStorageOutput() GetBundleRootStorageOutput
func (GetBundleRootStorageOutput) ToGetBundleRootStorageOutputWithContext ¶
func (o GetBundleRootStorageOutput) ToGetBundleRootStorageOutputWithContext(ctx context.Context) GetBundleRootStorageOutput
type GetBundleUserStorage ¶
type GetBundleUserStorage struct { // Size of the user storage. Capacity string `pulumi:"capacity"` }
type GetBundleUserStorageArgs ¶
type GetBundleUserStorageArgs struct { // Size of the user storage. Capacity pulumi.StringInput `pulumi:"capacity"` }
func (GetBundleUserStorageArgs) ElementType ¶
func (GetBundleUserStorageArgs) ElementType() reflect.Type
func (GetBundleUserStorageArgs) ToGetBundleUserStorageOutput ¶
func (i GetBundleUserStorageArgs) ToGetBundleUserStorageOutput() GetBundleUserStorageOutput
func (GetBundleUserStorageArgs) ToGetBundleUserStorageOutputWithContext ¶
func (i GetBundleUserStorageArgs) ToGetBundleUserStorageOutputWithContext(ctx context.Context) GetBundleUserStorageOutput
type GetBundleUserStorageArray ¶
type GetBundleUserStorageArray []GetBundleUserStorageInput
func (GetBundleUserStorageArray) ElementType ¶
func (GetBundleUserStorageArray) ElementType() reflect.Type
func (GetBundleUserStorageArray) ToGetBundleUserStorageArrayOutput ¶
func (i GetBundleUserStorageArray) ToGetBundleUserStorageArrayOutput() GetBundleUserStorageArrayOutput
func (GetBundleUserStorageArray) ToGetBundleUserStorageArrayOutputWithContext ¶
func (i GetBundleUserStorageArray) ToGetBundleUserStorageArrayOutputWithContext(ctx context.Context) GetBundleUserStorageArrayOutput
type GetBundleUserStorageArrayInput ¶
type GetBundleUserStorageArrayInput interface { pulumi.Input ToGetBundleUserStorageArrayOutput() GetBundleUserStorageArrayOutput ToGetBundleUserStorageArrayOutputWithContext(context.Context) GetBundleUserStorageArrayOutput }
GetBundleUserStorageArrayInput is an input type that accepts GetBundleUserStorageArray and GetBundleUserStorageArrayOutput values. You can construct a concrete instance of `GetBundleUserStorageArrayInput` via:
GetBundleUserStorageArray{ GetBundleUserStorageArgs{...} }
type GetBundleUserStorageArrayOutput ¶
type GetBundleUserStorageArrayOutput struct{ *pulumi.OutputState }
func (GetBundleUserStorageArrayOutput) ElementType ¶
func (GetBundleUserStorageArrayOutput) ElementType() reflect.Type
func (GetBundleUserStorageArrayOutput) Index ¶
func (o GetBundleUserStorageArrayOutput) Index(i pulumi.IntInput) GetBundleUserStorageOutput
func (GetBundleUserStorageArrayOutput) ToGetBundleUserStorageArrayOutput ¶
func (o GetBundleUserStorageArrayOutput) ToGetBundleUserStorageArrayOutput() GetBundleUserStorageArrayOutput
func (GetBundleUserStorageArrayOutput) ToGetBundleUserStorageArrayOutputWithContext ¶
func (o GetBundleUserStorageArrayOutput) ToGetBundleUserStorageArrayOutputWithContext(ctx context.Context) GetBundleUserStorageArrayOutput
type GetBundleUserStorageInput ¶
type GetBundleUserStorageInput interface { pulumi.Input ToGetBundleUserStorageOutput() GetBundleUserStorageOutput ToGetBundleUserStorageOutputWithContext(context.Context) GetBundleUserStorageOutput }
GetBundleUserStorageInput is an input type that accepts GetBundleUserStorageArgs and GetBundleUserStorageOutput values. You can construct a concrete instance of `GetBundleUserStorageInput` via:
GetBundleUserStorageArgs{...}
type GetBundleUserStorageOutput ¶
type GetBundleUserStorageOutput struct{ *pulumi.OutputState }
func (GetBundleUserStorageOutput) Capacity ¶
func (o GetBundleUserStorageOutput) Capacity() pulumi.StringOutput
Size of the user storage.
func (GetBundleUserStorageOutput) ElementType ¶
func (GetBundleUserStorageOutput) ElementType() reflect.Type
func (GetBundleUserStorageOutput) ToGetBundleUserStorageOutput ¶
func (o GetBundleUserStorageOutput) ToGetBundleUserStorageOutput() GetBundleUserStorageOutput
func (GetBundleUserStorageOutput) ToGetBundleUserStorageOutputWithContext ¶
func (o GetBundleUserStorageOutput) ToGetBundleUserStorageOutputWithContext(ctx context.Context) GetBundleUserStorageOutput
type GetDirectorySelfServicePermission ¶
type GetDirectorySelfServicePermission struct { // Whether WorkSpaces directory users can change the compute type (bundle) for their workspace. ChangeComputeType bool `pulumi:"changeComputeType"` // Whether WorkSpaces directory users can increase the volume size of the drives on their workspace. IncreaseVolumeSize bool `pulumi:"increaseVolumeSize"` // Whether WorkSpaces directory users can rebuild the operating system of a workspace to its original state. RebuildWorkspace bool `pulumi:"rebuildWorkspace"` // Whether WorkSpaces directory users can restart their workspace. RestartWorkspace bool `pulumi:"restartWorkspace"` // Whether WorkSpaces directory users can switch the running mode of their workspace. SwitchRunningMode bool `pulumi:"switchRunningMode"` }
type GetDirectorySelfServicePermissionArgs ¶
type GetDirectorySelfServicePermissionArgs struct { // Whether WorkSpaces directory users can change the compute type (bundle) for their workspace. ChangeComputeType pulumi.BoolInput `pulumi:"changeComputeType"` // Whether WorkSpaces directory users can increase the volume size of the drives on their workspace. IncreaseVolumeSize pulumi.BoolInput `pulumi:"increaseVolumeSize"` // Whether WorkSpaces directory users can rebuild the operating system of a workspace to its original state. RebuildWorkspace pulumi.BoolInput `pulumi:"rebuildWorkspace"` // Whether WorkSpaces directory users can restart their workspace. RestartWorkspace pulumi.BoolInput `pulumi:"restartWorkspace"` // Whether WorkSpaces directory users can switch the running mode of their workspace. SwitchRunningMode pulumi.BoolInput `pulumi:"switchRunningMode"` }
func (GetDirectorySelfServicePermissionArgs) ElementType ¶
func (GetDirectorySelfServicePermissionArgs) ElementType() reflect.Type
func (GetDirectorySelfServicePermissionArgs) ToGetDirectorySelfServicePermissionOutput ¶
func (i GetDirectorySelfServicePermissionArgs) ToGetDirectorySelfServicePermissionOutput() GetDirectorySelfServicePermissionOutput
func (GetDirectorySelfServicePermissionArgs) ToGetDirectorySelfServicePermissionOutputWithContext ¶
func (i GetDirectorySelfServicePermissionArgs) ToGetDirectorySelfServicePermissionOutputWithContext(ctx context.Context) GetDirectorySelfServicePermissionOutput
type GetDirectorySelfServicePermissionArray ¶
type GetDirectorySelfServicePermissionArray []GetDirectorySelfServicePermissionInput
func (GetDirectorySelfServicePermissionArray) ElementType ¶
func (GetDirectorySelfServicePermissionArray) ElementType() reflect.Type
func (GetDirectorySelfServicePermissionArray) ToGetDirectorySelfServicePermissionArrayOutput ¶
func (i GetDirectorySelfServicePermissionArray) ToGetDirectorySelfServicePermissionArrayOutput() GetDirectorySelfServicePermissionArrayOutput
func (GetDirectorySelfServicePermissionArray) ToGetDirectorySelfServicePermissionArrayOutputWithContext ¶
func (i GetDirectorySelfServicePermissionArray) ToGetDirectorySelfServicePermissionArrayOutputWithContext(ctx context.Context) GetDirectorySelfServicePermissionArrayOutput
type GetDirectorySelfServicePermissionArrayInput ¶
type GetDirectorySelfServicePermissionArrayInput interface { pulumi.Input ToGetDirectorySelfServicePermissionArrayOutput() GetDirectorySelfServicePermissionArrayOutput ToGetDirectorySelfServicePermissionArrayOutputWithContext(context.Context) GetDirectorySelfServicePermissionArrayOutput }
GetDirectorySelfServicePermissionArrayInput is an input type that accepts GetDirectorySelfServicePermissionArray and GetDirectorySelfServicePermissionArrayOutput values. You can construct a concrete instance of `GetDirectorySelfServicePermissionArrayInput` via:
GetDirectorySelfServicePermissionArray{ GetDirectorySelfServicePermissionArgs{...} }
type GetDirectorySelfServicePermissionArrayOutput ¶
type GetDirectorySelfServicePermissionArrayOutput struct{ *pulumi.OutputState }
func (GetDirectorySelfServicePermissionArrayOutput) ElementType ¶
func (GetDirectorySelfServicePermissionArrayOutput) ElementType() reflect.Type
func (GetDirectorySelfServicePermissionArrayOutput) ToGetDirectorySelfServicePermissionArrayOutput ¶
func (o GetDirectorySelfServicePermissionArrayOutput) ToGetDirectorySelfServicePermissionArrayOutput() GetDirectorySelfServicePermissionArrayOutput
func (GetDirectorySelfServicePermissionArrayOutput) ToGetDirectorySelfServicePermissionArrayOutputWithContext ¶
func (o GetDirectorySelfServicePermissionArrayOutput) ToGetDirectorySelfServicePermissionArrayOutputWithContext(ctx context.Context) GetDirectorySelfServicePermissionArrayOutput
type GetDirectorySelfServicePermissionInput ¶
type GetDirectorySelfServicePermissionInput interface { pulumi.Input ToGetDirectorySelfServicePermissionOutput() GetDirectorySelfServicePermissionOutput ToGetDirectorySelfServicePermissionOutputWithContext(context.Context) GetDirectorySelfServicePermissionOutput }
GetDirectorySelfServicePermissionInput is an input type that accepts GetDirectorySelfServicePermissionArgs and GetDirectorySelfServicePermissionOutput values. You can construct a concrete instance of `GetDirectorySelfServicePermissionInput` via:
GetDirectorySelfServicePermissionArgs{...}
type GetDirectorySelfServicePermissionOutput ¶
type GetDirectorySelfServicePermissionOutput struct{ *pulumi.OutputState }
func (GetDirectorySelfServicePermissionOutput) ChangeComputeType ¶
func (o GetDirectorySelfServicePermissionOutput) ChangeComputeType() pulumi.BoolOutput
Whether WorkSpaces directory users can change the compute type (bundle) for their workspace.
func (GetDirectorySelfServicePermissionOutput) ElementType ¶
func (GetDirectorySelfServicePermissionOutput) ElementType() reflect.Type
func (GetDirectorySelfServicePermissionOutput) IncreaseVolumeSize ¶
func (o GetDirectorySelfServicePermissionOutput) IncreaseVolumeSize() pulumi.BoolOutput
Whether WorkSpaces directory users can increase the volume size of the drives on their workspace.
func (GetDirectorySelfServicePermissionOutput) RebuildWorkspace ¶
func (o GetDirectorySelfServicePermissionOutput) RebuildWorkspace() pulumi.BoolOutput
Whether WorkSpaces directory users can rebuild the operating system of a workspace to its original state.
func (GetDirectorySelfServicePermissionOutput) RestartWorkspace ¶
func (o GetDirectorySelfServicePermissionOutput) RestartWorkspace() pulumi.BoolOutput
Whether WorkSpaces directory users can restart their workspace.
func (GetDirectorySelfServicePermissionOutput) SwitchRunningMode ¶
func (o GetDirectorySelfServicePermissionOutput) SwitchRunningMode() pulumi.BoolOutput
Whether WorkSpaces directory users can switch the running mode of their workspace.
func (GetDirectorySelfServicePermissionOutput) ToGetDirectorySelfServicePermissionOutput ¶
func (o GetDirectorySelfServicePermissionOutput) ToGetDirectorySelfServicePermissionOutput() GetDirectorySelfServicePermissionOutput
func (GetDirectorySelfServicePermissionOutput) ToGetDirectorySelfServicePermissionOutputWithContext ¶
func (o GetDirectorySelfServicePermissionOutput) ToGetDirectorySelfServicePermissionOutputWithContext(ctx context.Context) GetDirectorySelfServicePermissionOutput
type GetDirectoryWorkspaceAccessProperty ¶
type GetDirectoryWorkspaceAccessProperty struct { // (Optional) Indicates whether users can use Android devices to access their WorkSpaces. DeviceTypeAndroid string `pulumi:"deviceTypeAndroid"` // (Optional) Indicates whether users can use Chromebooks to access their WorkSpaces. DeviceTypeChromeos string `pulumi:"deviceTypeChromeos"` // (Optional) Indicates whether users can use iOS devices to access their WorkSpaces. DeviceTypeIos string `pulumi:"deviceTypeIos"` // (Optional) Indicates whether users can use Linux clients to access their WorkSpaces. DeviceTypeLinux string `pulumi:"deviceTypeLinux"` // (Optional) Indicates whether users can use macOS clients to access their WorkSpaces. DeviceTypeOsx string `pulumi:"deviceTypeOsx"` // (Optional) Indicates whether users can access their WorkSpaces through a web browser. DeviceTypeWeb string `pulumi:"deviceTypeWeb"` // (Optional) Indicates whether users can use Windows clients to access their WorkSpaces. DeviceTypeWindows string `pulumi:"deviceTypeWindows"` // (Optional) Indicates whether users can use zero client devices to access their WorkSpaces. DeviceTypeZeroclient string `pulumi:"deviceTypeZeroclient"` }
type GetDirectoryWorkspaceAccessPropertyArgs ¶
type GetDirectoryWorkspaceAccessPropertyArgs struct { // (Optional) Indicates whether users can use Android devices to access their WorkSpaces. DeviceTypeAndroid pulumi.StringInput `pulumi:"deviceTypeAndroid"` // (Optional) Indicates whether users can use Chromebooks to access their WorkSpaces. DeviceTypeChromeos pulumi.StringInput `pulumi:"deviceTypeChromeos"` // (Optional) Indicates whether users can use iOS devices to access their WorkSpaces. DeviceTypeIos pulumi.StringInput `pulumi:"deviceTypeIos"` // (Optional) Indicates whether users can use Linux clients to access their WorkSpaces. DeviceTypeLinux pulumi.StringInput `pulumi:"deviceTypeLinux"` // (Optional) Indicates whether users can use macOS clients to access their WorkSpaces. DeviceTypeOsx pulumi.StringInput `pulumi:"deviceTypeOsx"` // (Optional) Indicates whether users can access their WorkSpaces through a web browser. DeviceTypeWeb pulumi.StringInput `pulumi:"deviceTypeWeb"` // (Optional) Indicates whether users can use Windows clients to access their WorkSpaces. DeviceTypeWindows pulumi.StringInput `pulumi:"deviceTypeWindows"` // (Optional) Indicates whether users can use zero client devices to access their WorkSpaces. DeviceTypeZeroclient pulumi.StringInput `pulumi:"deviceTypeZeroclient"` }
func (GetDirectoryWorkspaceAccessPropertyArgs) ElementType ¶
func (GetDirectoryWorkspaceAccessPropertyArgs) ElementType() reflect.Type
func (GetDirectoryWorkspaceAccessPropertyArgs) ToGetDirectoryWorkspaceAccessPropertyOutput ¶
func (i GetDirectoryWorkspaceAccessPropertyArgs) ToGetDirectoryWorkspaceAccessPropertyOutput() GetDirectoryWorkspaceAccessPropertyOutput
func (GetDirectoryWorkspaceAccessPropertyArgs) ToGetDirectoryWorkspaceAccessPropertyOutputWithContext ¶
func (i GetDirectoryWorkspaceAccessPropertyArgs) ToGetDirectoryWorkspaceAccessPropertyOutputWithContext(ctx context.Context) GetDirectoryWorkspaceAccessPropertyOutput
type GetDirectoryWorkspaceAccessPropertyArray ¶
type GetDirectoryWorkspaceAccessPropertyArray []GetDirectoryWorkspaceAccessPropertyInput
func (GetDirectoryWorkspaceAccessPropertyArray) ElementType ¶
func (GetDirectoryWorkspaceAccessPropertyArray) ElementType() reflect.Type
func (GetDirectoryWorkspaceAccessPropertyArray) ToGetDirectoryWorkspaceAccessPropertyArrayOutput ¶
func (i GetDirectoryWorkspaceAccessPropertyArray) ToGetDirectoryWorkspaceAccessPropertyArrayOutput() GetDirectoryWorkspaceAccessPropertyArrayOutput
func (GetDirectoryWorkspaceAccessPropertyArray) ToGetDirectoryWorkspaceAccessPropertyArrayOutputWithContext ¶
func (i GetDirectoryWorkspaceAccessPropertyArray) ToGetDirectoryWorkspaceAccessPropertyArrayOutputWithContext(ctx context.Context) GetDirectoryWorkspaceAccessPropertyArrayOutput
type GetDirectoryWorkspaceAccessPropertyArrayInput ¶
type GetDirectoryWorkspaceAccessPropertyArrayInput interface { pulumi.Input ToGetDirectoryWorkspaceAccessPropertyArrayOutput() GetDirectoryWorkspaceAccessPropertyArrayOutput ToGetDirectoryWorkspaceAccessPropertyArrayOutputWithContext(context.Context) GetDirectoryWorkspaceAccessPropertyArrayOutput }
GetDirectoryWorkspaceAccessPropertyArrayInput is an input type that accepts GetDirectoryWorkspaceAccessPropertyArray and GetDirectoryWorkspaceAccessPropertyArrayOutput values. You can construct a concrete instance of `GetDirectoryWorkspaceAccessPropertyArrayInput` via:
GetDirectoryWorkspaceAccessPropertyArray{ GetDirectoryWorkspaceAccessPropertyArgs{...} }
type GetDirectoryWorkspaceAccessPropertyArrayOutput ¶
type GetDirectoryWorkspaceAccessPropertyArrayOutput struct{ *pulumi.OutputState }
func (GetDirectoryWorkspaceAccessPropertyArrayOutput) ElementType ¶
func (GetDirectoryWorkspaceAccessPropertyArrayOutput) ElementType() reflect.Type
func (GetDirectoryWorkspaceAccessPropertyArrayOutput) ToGetDirectoryWorkspaceAccessPropertyArrayOutput ¶
func (o GetDirectoryWorkspaceAccessPropertyArrayOutput) ToGetDirectoryWorkspaceAccessPropertyArrayOutput() GetDirectoryWorkspaceAccessPropertyArrayOutput
func (GetDirectoryWorkspaceAccessPropertyArrayOutput) ToGetDirectoryWorkspaceAccessPropertyArrayOutputWithContext ¶
func (o GetDirectoryWorkspaceAccessPropertyArrayOutput) ToGetDirectoryWorkspaceAccessPropertyArrayOutputWithContext(ctx context.Context) GetDirectoryWorkspaceAccessPropertyArrayOutput
type GetDirectoryWorkspaceAccessPropertyInput ¶
type GetDirectoryWorkspaceAccessPropertyInput interface { pulumi.Input ToGetDirectoryWorkspaceAccessPropertyOutput() GetDirectoryWorkspaceAccessPropertyOutput ToGetDirectoryWorkspaceAccessPropertyOutputWithContext(context.Context) GetDirectoryWorkspaceAccessPropertyOutput }
GetDirectoryWorkspaceAccessPropertyInput is an input type that accepts GetDirectoryWorkspaceAccessPropertyArgs and GetDirectoryWorkspaceAccessPropertyOutput values. You can construct a concrete instance of `GetDirectoryWorkspaceAccessPropertyInput` via:
GetDirectoryWorkspaceAccessPropertyArgs{...}
type GetDirectoryWorkspaceAccessPropertyOutput ¶
type GetDirectoryWorkspaceAccessPropertyOutput struct{ *pulumi.OutputState }
func (GetDirectoryWorkspaceAccessPropertyOutput) DeviceTypeAndroid ¶
func (o GetDirectoryWorkspaceAccessPropertyOutput) DeviceTypeAndroid() pulumi.StringOutput
(Optional) Indicates whether users can use Android devices to access their WorkSpaces.
func (GetDirectoryWorkspaceAccessPropertyOutput) DeviceTypeChromeos ¶
func (o GetDirectoryWorkspaceAccessPropertyOutput) DeviceTypeChromeos() pulumi.StringOutput
(Optional) Indicates whether users can use Chromebooks to access their WorkSpaces.
func (GetDirectoryWorkspaceAccessPropertyOutput) DeviceTypeIos ¶
func (o GetDirectoryWorkspaceAccessPropertyOutput) DeviceTypeIos() pulumi.StringOutput
(Optional) Indicates whether users can use iOS devices to access their WorkSpaces.
func (GetDirectoryWorkspaceAccessPropertyOutput) DeviceTypeLinux ¶
func (o GetDirectoryWorkspaceAccessPropertyOutput) DeviceTypeLinux() pulumi.StringOutput
(Optional) Indicates whether users can use Linux clients to access their WorkSpaces.
func (GetDirectoryWorkspaceAccessPropertyOutput) DeviceTypeOsx ¶
func (o GetDirectoryWorkspaceAccessPropertyOutput) DeviceTypeOsx() pulumi.StringOutput
(Optional) Indicates whether users can use macOS clients to access their WorkSpaces.
func (GetDirectoryWorkspaceAccessPropertyOutput) DeviceTypeWeb ¶
func (o GetDirectoryWorkspaceAccessPropertyOutput) DeviceTypeWeb() pulumi.StringOutput
(Optional) Indicates whether users can access their WorkSpaces through a web browser.
func (GetDirectoryWorkspaceAccessPropertyOutput) DeviceTypeWindows ¶
func (o GetDirectoryWorkspaceAccessPropertyOutput) DeviceTypeWindows() pulumi.StringOutput
(Optional) Indicates whether users can use Windows clients to access their WorkSpaces.
func (GetDirectoryWorkspaceAccessPropertyOutput) DeviceTypeZeroclient ¶
func (o GetDirectoryWorkspaceAccessPropertyOutput) DeviceTypeZeroclient() pulumi.StringOutput
(Optional) Indicates whether users can use zero client devices to access their WorkSpaces.
func (GetDirectoryWorkspaceAccessPropertyOutput) ElementType ¶
func (GetDirectoryWorkspaceAccessPropertyOutput) ElementType() reflect.Type
func (GetDirectoryWorkspaceAccessPropertyOutput) ToGetDirectoryWorkspaceAccessPropertyOutput ¶
func (o GetDirectoryWorkspaceAccessPropertyOutput) ToGetDirectoryWorkspaceAccessPropertyOutput() GetDirectoryWorkspaceAccessPropertyOutput
func (GetDirectoryWorkspaceAccessPropertyOutput) ToGetDirectoryWorkspaceAccessPropertyOutputWithContext ¶
func (o GetDirectoryWorkspaceAccessPropertyOutput) ToGetDirectoryWorkspaceAccessPropertyOutputWithContext(ctx context.Context) GetDirectoryWorkspaceAccessPropertyOutput
type GetDirectoryWorkspaceCreationProperty ¶
type GetDirectoryWorkspaceCreationProperty struct { // The identifier of your custom security group. Should relate to the same VPC, where workspaces reside in. CustomSecurityGroupId string `pulumi:"customSecurityGroupId"` // The default organizational unit (OU) for your WorkSpace directories. DefaultOu string `pulumi:"defaultOu"` // Indicates whether internet access is enabled for your WorkSpaces. EnableInternetAccess bool `pulumi:"enableInternetAccess"` // Indicates whether maintenance mode is enabled for your WorkSpaces. For more information, see [WorkSpace Maintenance](https://docs.aws.amazon.com/workspaces/latest/adminguide/workspace-maintenance.html). EnableMaintenanceMode bool `pulumi:"enableMaintenanceMode"` // Indicates whether users are local administrators of their WorkSpaces. UserEnabledAsLocalAdministrator bool `pulumi:"userEnabledAsLocalAdministrator"` }
type GetDirectoryWorkspaceCreationPropertyArgs ¶
type GetDirectoryWorkspaceCreationPropertyArgs struct { // The identifier of your custom security group. Should relate to the same VPC, where workspaces reside in. CustomSecurityGroupId pulumi.StringInput `pulumi:"customSecurityGroupId"` // The default organizational unit (OU) for your WorkSpace directories. DefaultOu pulumi.StringInput `pulumi:"defaultOu"` // Indicates whether internet access is enabled for your WorkSpaces. EnableInternetAccess pulumi.BoolInput `pulumi:"enableInternetAccess"` // Indicates whether maintenance mode is enabled for your WorkSpaces. For more information, see [WorkSpace Maintenance](https://docs.aws.amazon.com/workspaces/latest/adminguide/workspace-maintenance.html). EnableMaintenanceMode pulumi.BoolInput `pulumi:"enableMaintenanceMode"` // Indicates whether users are local administrators of their WorkSpaces. UserEnabledAsLocalAdministrator pulumi.BoolInput `pulumi:"userEnabledAsLocalAdministrator"` }
func (GetDirectoryWorkspaceCreationPropertyArgs) ElementType ¶
func (GetDirectoryWorkspaceCreationPropertyArgs) ElementType() reflect.Type
func (GetDirectoryWorkspaceCreationPropertyArgs) ToGetDirectoryWorkspaceCreationPropertyOutput ¶
func (i GetDirectoryWorkspaceCreationPropertyArgs) ToGetDirectoryWorkspaceCreationPropertyOutput() GetDirectoryWorkspaceCreationPropertyOutput
func (GetDirectoryWorkspaceCreationPropertyArgs) ToGetDirectoryWorkspaceCreationPropertyOutputWithContext ¶
func (i GetDirectoryWorkspaceCreationPropertyArgs) ToGetDirectoryWorkspaceCreationPropertyOutputWithContext(ctx context.Context) GetDirectoryWorkspaceCreationPropertyOutput
type GetDirectoryWorkspaceCreationPropertyArray ¶
type GetDirectoryWorkspaceCreationPropertyArray []GetDirectoryWorkspaceCreationPropertyInput
func (GetDirectoryWorkspaceCreationPropertyArray) ElementType ¶
func (GetDirectoryWorkspaceCreationPropertyArray) ElementType() reflect.Type
func (GetDirectoryWorkspaceCreationPropertyArray) ToGetDirectoryWorkspaceCreationPropertyArrayOutput ¶
func (i GetDirectoryWorkspaceCreationPropertyArray) ToGetDirectoryWorkspaceCreationPropertyArrayOutput() GetDirectoryWorkspaceCreationPropertyArrayOutput
func (GetDirectoryWorkspaceCreationPropertyArray) ToGetDirectoryWorkspaceCreationPropertyArrayOutputWithContext ¶
func (i GetDirectoryWorkspaceCreationPropertyArray) ToGetDirectoryWorkspaceCreationPropertyArrayOutputWithContext(ctx context.Context) GetDirectoryWorkspaceCreationPropertyArrayOutput
type GetDirectoryWorkspaceCreationPropertyArrayInput ¶
type GetDirectoryWorkspaceCreationPropertyArrayInput interface { pulumi.Input ToGetDirectoryWorkspaceCreationPropertyArrayOutput() GetDirectoryWorkspaceCreationPropertyArrayOutput ToGetDirectoryWorkspaceCreationPropertyArrayOutputWithContext(context.Context) GetDirectoryWorkspaceCreationPropertyArrayOutput }
GetDirectoryWorkspaceCreationPropertyArrayInput is an input type that accepts GetDirectoryWorkspaceCreationPropertyArray and GetDirectoryWorkspaceCreationPropertyArrayOutput values. You can construct a concrete instance of `GetDirectoryWorkspaceCreationPropertyArrayInput` via:
GetDirectoryWorkspaceCreationPropertyArray{ GetDirectoryWorkspaceCreationPropertyArgs{...} }
type GetDirectoryWorkspaceCreationPropertyArrayOutput ¶
type GetDirectoryWorkspaceCreationPropertyArrayOutput struct{ *pulumi.OutputState }
func (GetDirectoryWorkspaceCreationPropertyArrayOutput) ElementType ¶
func (GetDirectoryWorkspaceCreationPropertyArrayOutput) ElementType() reflect.Type
func (GetDirectoryWorkspaceCreationPropertyArrayOutput) ToGetDirectoryWorkspaceCreationPropertyArrayOutput ¶
func (o GetDirectoryWorkspaceCreationPropertyArrayOutput) ToGetDirectoryWorkspaceCreationPropertyArrayOutput() GetDirectoryWorkspaceCreationPropertyArrayOutput
func (GetDirectoryWorkspaceCreationPropertyArrayOutput) ToGetDirectoryWorkspaceCreationPropertyArrayOutputWithContext ¶
func (o GetDirectoryWorkspaceCreationPropertyArrayOutput) ToGetDirectoryWorkspaceCreationPropertyArrayOutputWithContext(ctx context.Context) GetDirectoryWorkspaceCreationPropertyArrayOutput
type GetDirectoryWorkspaceCreationPropertyInput ¶
type GetDirectoryWorkspaceCreationPropertyInput interface { pulumi.Input ToGetDirectoryWorkspaceCreationPropertyOutput() GetDirectoryWorkspaceCreationPropertyOutput ToGetDirectoryWorkspaceCreationPropertyOutputWithContext(context.Context) GetDirectoryWorkspaceCreationPropertyOutput }
GetDirectoryWorkspaceCreationPropertyInput is an input type that accepts GetDirectoryWorkspaceCreationPropertyArgs and GetDirectoryWorkspaceCreationPropertyOutput values. You can construct a concrete instance of `GetDirectoryWorkspaceCreationPropertyInput` via:
GetDirectoryWorkspaceCreationPropertyArgs{...}
type GetDirectoryWorkspaceCreationPropertyOutput ¶
type GetDirectoryWorkspaceCreationPropertyOutput struct{ *pulumi.OutputState }
func (GetDirectoryWorkspaceCreationPropertyOutput) CustomSecurityGroupId ¶
func (o GetDirectoryWorkspaceCreationPropertyOutput) CustomSecurityGroupId() pulumi.StringOutput
The identifier of your custom security group. Should relate to the same VPC, where workspaces reside in.
func (GetDirectoryWorkspaceCreationPropertyOutput) DefaultOu ¶
func (o GetDirectoryWorkspaceCreationPropertyOutput) DefaultOu() pulumi.StringOutput
The default organizational unit (OU) for your WorkSpace directories.
func (GetDirectoryWorkspaceCreationPropertyOutput) ElementType ¶
func (GetDirectoryWorkspaceCreationPropertyOutput) ElementType() reflect.Type
func (GetDirectoryWorkspaceCreationPropertyOutput) EnableInternetAccess ¶
func (o GetDirectoryWorkspaceCreationPropertyOutput) EnableInternetAccess() pulumi.BoolOutput
Indicates whether internet access is enabled for your WorkSpaces.
func (GetDirectoryWorkspaceCreationPropertyOutput) EnableMaintenanceMode ¶
func (o GetDirectoryWorkspaceCreationPropertyOutput) EnableMaintenanceMode() pulumi.BoolOutput
Indicates whether maintenance mode is enabled for your WorkSpaces. For more information, see [WorkSpace Maintenance](https://docs.aws.amazon.com/workspaces/latest/adminguide/workspace-maintenance.html).
func (GetDirectoryWorkspaceCreationPropertyOutput) ToGetDirectoryWorkspaceCreationPropertyOutput ¶
func (o GetDirectoryWorkspaceCreationPropertyOutput) ToGetDirectoryWorkspaceCreationPropertyOutput() GetDirectoryWorkspaceCreationPropertyOutput
func (GetDirectoryWorkspaceCreationPropertyOutput) ToGetDirectoryWorkspaceCreationPropertyOutputWithContext ¶
func (o GetDirectoryWorkspaceCreationPropertyOutput) ToGetDirectoryWorkspaceCreationPropertyOutputWithContext(ctx context.Context) GetDirectoryWorkspaceCreationPropertyOutput
func (GetDirectoryWorkspaceCreationPropertyOutput) UserEnabledAsLocalAdministrator ¶
func (o GetDirectoryWorkspaceCreationPropertyOutput) UserEnabledAsLocalAdministrator() pulumi.BoolOutput
Indicates whether users are local administrators of their WorkSpaces.
type GetImageArgs ¶
type GetImageArgs struct { // ID of the image. ImageId string `pulumi:"imageId"` }
A collection of arguments for invoking getImage.
type GetImageOutputArgs ¶
type GetImageOutputArgs struct { // ID of the image. ImageId pulumi.StringInput `pulumi:"imageId"` }
A collection of arguments for invoking getImage.
func (GetImageOutputArgs) ElementType ¶
func (GetImageOutputArgs) ElementType() reflect.Type
type GetImageResult ¶
type GetImageResult struct { // The description of the image. Description string `pulumi:"description"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` ImageId string `pulumi:"imageId"` // The name of the image. Name string `pulumi:"name"` OperatingSystemType string `pulumi:"operatingSystemType"` // Specifies whether the image is running on dedicated hardware. When Bring Your Own License (BYOL) is enabled, this value is set to DEDICATED. For more information, see [Bring Your Own Windows Desktop Images](https://docs.aws.amazon.com/workspaces/latest/adminguide/byol-windows-images.html). RequiredTenancy string `pulumi:"requiredTenancy"` // The status of the image. State string `pulumi:"state"` }
A collection of values returned by getImage.
func GetImage ¶
func GetImage(ctx *pulumi.Context, args *GetImageArgs, opts ...pulumi.InvokeOption) (*GetImageResult, error)
Use this data source to get information about a Workspaces image.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/workspaces" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := workspaces.GetImage(ctx, &workspaces.GetImageArgs{ ImageId: "wsi-ten5h0y19", }, nil) if err != nil { return err } return nil }) }
```
type GetImageResultOutput ¶
type GetImageResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getImage.
func GetImageOutput ¶
func GetImageOutput(ctx *pulumi.Context, args GetImageOutputArgs, opts ...pulumi.InvokeOption) GetImageResultOutput
func (GetImageResultOutput) Description ¶
func (o GetImageResultOutput) Description() pulumi.StringOutput
The description of the image.
func (GetImageResultOutput) ElementType ¶
func (GetImageResultOutput) ElementType() reflect.Type
func (GetImageResultOutput) Id ¶
func (o GetImageResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetImageResultOutput) ImageId ¶
func (o GetImageResultOutput) ImageId() pulumi.StringOutput
func (GetImageResultOutput) Name ¶
func (o GetImageResultOutput) Name() pulumi.StringOutput
The name of the image.
func (GetImageResultOutput) OperatingSystemType ¶
func (o GetImageResultOutput) OperatingSystemType() pulumi.StringOutput
func (GetImageResultOutput) RequiredTenancy ¶
func (o GetImageResultOutput) RequiredTenancy() pulumi.StringOutput
Specifies whether the image is running on dedicated hardware. When Bring Your Own License (BYOL) is enabled, this value is set to DEDICATED. For more information, see [Bring Your Own Windows Desktop Images](https://docs.aws.amazon.com/workspaces/latest/adminguide/byol-windows-images.html).
func (GetImageResultOutput) State ¶
func (o GetImageResultOutput) State() pulumi.StringOutput
The status of the image.
func (GetImageResultOutput) ToGetImageResultOutput ¶
func (o GetImageResultOutput) ToGetImageResultOutput() GetImageResultOutput
func (GetImageResultOutput) ToGetImageResultOutputWithContext ¶
func (o GetImageResultOutput) ToGetImageResultOutputWithContext(ctx context.Context) GetImageResultOutput
type GetWorkspaceWorkspaceProperty ¶
type GetWorkspaceWorkspaceProperty struct { // Compute type. For more information, see [Amazon WorkSpaces Bundles](http://aws.amazon.com/workspaces/details/#Amazon_WorkSpaces_Bundles). Valid values are `VALUE`, `STANDARD`, `PERFORMANCE`, `POWER`, `GRAPHICS`, `POWERPRO` and `GRAPHICSPRO`. ComputeTypeName string `pulumi:"computeTypeName"` // Size of the root volume. RootVolumeSizeGib int `pulumi:"rootVolumeSizeGib"` // Running mode. For more information, see [Manage the WorkSpace Running Mode](https://docs.aws.amazon.com/workspaces/latest/adminguide/running-mode.html). Valid values are `AUTO_STOP` and `ALWAYS_ON`. RunningMode string `pulumi:"runningMode"` // Time after a user logs off when WorkSpaces are automatically stopped. Configured in 60-minute intervals. RunningModeAutoStopTimeoutInMinutes int `pulumi:"runningModeAutoStopTimeoutInMinutes"` // Size of the user storage. UserVolumeSizeGib int `pulumi:"userVolumeSizeGib"` }
type GetWorkspaceWorkspacePropertyArgs ¶
type GetWorkspaceWorkspacePropertyArgs struct { // Compute type. For more information, see [Amazon WorkSpaces Bundles](http://aws.amazon.com/workspaces/details/#Amazon_WorkSpaces_Bundles). Valid values are `VALUE`, `STANDARD`, `PERFORMANCE`, `POWER`, `GRAPHICS`, `POWERPRO` and `GRAPHICSPRO`. ComputeTypeName pulumi.StringInput `pulumi:"computeTypeName"` // Size of the root volume. RootVolumeSizeGib pulumi.IntInput `pulumi:"rootVolumeSizeGib"` // Running mode. For more information, see [Manage the WorkSpace Running Mode](https://docs.aws.amazon.com/workspaces/latest/adminguide/running-mode.html). Valid values are `AUTO_STOP` and `ALWAYS_ON`. RunningMode pulumi.StringInput `pulumi:"runningMode"` // Time after a user logs off when WorkSpaces are automatically stopped. Configured in 60-minute intervals. RunningModeAutoStopTimeoutInMinutes pulumi.IntInput `pulumi:"runningModeAutoStopTimeoutInMinutes"` // Size of the user storage. UserVolumeSizeGib pulumi.IntInput `pulumi:"userVolumeSizeGib"` }
func (GetWorkspaceWorkspacePropertyArgs) ElementType ¶
func (GetWorkspaceWorkspacePropertyArgs) ElementType() reflect.Type
func (GetWorkspaceWorkspacePropertyArgs) ToGetWorkspaceWorkspacePropertyOutput ¶
func (i GetWorkspaceWorkspacePropertyArgs) ToGetWorkspaceWorkspacePropertyOutput() GetWorkspaceWorkspacePropertyOutput
func (GetWorkspaceWorkspacePropertyArgs) ToGetWorkspaceWorkspacePropertyOutputWithContext ¶
func (i GetWorkspaceWorkspacePropertyArgs) ToGetWorkspaceWorkspacePropertyOutputWithContext(ctx context.Context) GetWorkspaceWorkspacePropertyOutput
type GetWorkspaceWorkspacePropertyArray ¶
type GetWorkspaceWorkspacePropertyArray []GetWorkspaceWorkspacePropertyInput
func (GetWorkspaceWorkspacePropertyArray) ElementType ¶
func (GetWorkspaceWorkspacePropertyArray) ElementType() reflect.Type
func (GetWorkspaceWorkspacePropertyArray) ToGetWorkspaceWorkspacePropertyArrayOutput ¶
func (i GetWorkspaceWorkspacePropertyArray) ToGetWorkspaceWorkspacePropertyArrayOutput() GetWorkspaceWorkspacePropertyArrayOutput
func (GetWorkspaceWorkspacePropertyArray) ToGetWorkspaceWorkspacePropertyArrayOutputWithContext ¶
func (i GetWorkspaceWorkspacePropertyArray) ToGetWorkspaceWorkspacePropertyArrayOutputWithContext(ctx context.Context) GetWorkspaceWorkspacePropertyArrayOutput
type GetWorkspaceWorkspacePropertyArrayInput ¶
type GetWorkspaceWorkspacePropertyArrayInput interface { pulumi.Input ToGetWorkspaceWorkspacePropertyArrayOutput() GetWorkspaceWorkspacePropertyArrayOutput ToGetWorkspaceWorkspacePropertyArrayOutputWithContext(context.Context) GetWorkspaceWorkspacePropertyArrayOutput }
GetWorkspaceWorkspacePropertyArrayInput is an input type that accepts GetWorkspaceWorkspacePropertyArray and GetWorkspaceWorkspacePropertyArrayOutput values. You can construct a concrete instance of `GetWorkspaceWorkspacePropertyArrayInput` via:
GetWorkspaceWorkspacePropertyArray{ GetWorkspaceWorkspacePropertyArgs{...} }
type GetWorkspaceWorkspacePropertyArrayOutput ¶
type GetWorkspaceWorkspacePropertyArrayOutput struct{ *pulumi.OutputState }
func (GetWorkspaceWorkspacePropertyArrayOutput) ElementType ¶
func (GetWorkspaceWorkspacePropertyArrayOutput) ElementType() reflect.Type
func (GetWorkspaceWorkspacePropertyArrayOutput) ToGetWorkspaceWorkspacePropertyArrayOutput ¶
func (o GetWorkspaceWorkspacePropertyArrayOutput) ToGetWorkspaceWorkspacePropertyArrayOutput() GetWorkspaceWorkspacePropertyArrayOutput
func (GetWorkspaceWorkspacePropertyArrayOutput) ToGetWorkspaceWorkspacePropertyArrayOutputWithContext ¶
func (o GetWorkspaceWorkspacePropertyArrayOutput) ToGetWorkspaceWorkspacePropertyArrayOutputWithContext(ctx context.Context) GetWorkspaceWorkspacePropertyArrayOutput
type GetWorkspaceWorkspacePropertyInput ¶
type GetWorkspaceWorkspacePropertyInput interface { pulumi.Input ToGetWorkspaceWorkspacePropertyOutput() GetWorkspaceWorkspacePropertyOutput ToGetWorkspaceWorkspacePropertyOutputWithContext(context.Context) GetWorkspaceWorkspacePropertyOutput }
GetWorkspaceWorkspacePropertyInput is an input type that accepts GetWorkspaceWorkspacePropertyArgs and GetWorkspaceWorkspacePropertyOutput values. You can construct a concrete instance of `GetWorkspaceWorkspacePropertyInput` via:
GetWorkspaceWorkspacePropertyArgs{...}
type GetWorkspaceWorkspacePropertyOutput ¶
type GetWorkspaceWorkspacePropertyOutput struct{ *pulumi.OutputState }
func (GetWorkspaceWorkspacePropertyOutput) ComputeTypeName ¶
func (o GetWorkspaceWorkspacePropertyOutput) ComputeTypeName() pulumi.StringOutput
Compute type. For more information, see [Amazon WorkSpaces Bundles](http://aws.amazon.com/workspaces/details/#Amazon_WorkSpaces_Bundles). Valid values are `VALUE`, `STANDARD`, `PERFORMANCE`, `POWER`, `GRAPHICS`, `POWERPRO` and `GRAPHICSPRO`.
func (GetWorkspaceWorkspacePropertyOutput) ElementType ¶
func (GetWorkspaceWorkspacePropertyOutput) ElementType() reflect.Type
func (GetWorkspaceWorkspacePropertyOutput) RootVolumeSizeGib ¶
func (o GetWorkspaceWorkspacePropertyOutput) RootVolumeSizeGib() pulumi.IntOutput
Size of the root volume.
func (GetWorkspaceWorkspacePropertyOutput) RunningMode ¶
func (o GetWorkspaceWorkspacePropertyOutput) RunningMode() pulumi.StringOutput
Running mode. For more information, see [Manage the WorkSpace Running Mode](https://docs.aws.amazon.com/workspaces/latest/adminguide/running-mode.html). Valid values are `AUTO_STOP` and `ALWAYS_ON`.
func (GetWorkspaceWorkspacePropertyOutput) RunningModeAutoStopTimeoutInMinutes ¶
func (o GetWorkspaceWorkspacePropertyOutput) RunningModeAutoStopTimeoutInMinutes() pulumi.IntOutput
Time after a user logs off when WorkSpaces are automatically stopped. Configured in 60-minute intervals.
func (GetWorkspaceWorkspacePropertyOutput) ToGetWorkspaceWorkspacePropertyOutput ¶
func (o GetWorkspaceWorkspacePropertyOutput) ToGetWorkspaceWorkspacePropertyOutput() GetWorkspaceWorkspacePropertyOutput
func (GetWorkspaceWorkspacePropertyOutput) ToGetWorkspaceWorkspacePropertyOutputWithContext ¶
func (o GetWorkspaceWorkspacePropertyOutput) ToGetWorkspaceWorkspacePropertyOutputWithContext(ctx context.Context) GetWorkspaceWorkspacePropertyOutput
func (GetWorkspaceWorkspacePropertyOutput) UserVolumeSizeGib ¶
func (o GetWorkspaceWorkspacePropertyOutput) UserVolumeSizeGib() pulumi.IntOutput
Size of the user storage.
type IpGroup ¶
type IpGroup struct { pulumi.CustomResourceState // The description of the IP group. Description pulumi.StringPtrOutput `pulumi:"description"` // The name of the IP group. Name pulumi.StringOutput `pulumi:"name"` // One or more pairs specifying the IP group rule (in CIDR format) from which web requests originate. Rules IpGroupRuleArrayOutput `pulumi:"rules"` // A map of tags assigned to the WorkSpaces directory. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapOutput `pulumi:"tags"` // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` }
Provides an IP access control group in AWS WorkSpaces Service
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/workspaces" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := workspaces.NewIpGroup(ctx, "contractors", &workspaces.IpGroupArgs{ Name: pulumi.String("Contractors"), Description: pulumi.String("Contractors IP access control group"), Rules: workspaces.IpGroupRuleArray{ &workspaces.IpGroupRuleArgs{ Source: pulumi.String("150.24.14.0/24"), Description: pulumi.String("NY"), }, &workspaces.IpGroupRuleArgs{ Source: pulumi.String("125.191.14.85/32"), Description: pulumi.String("LA"), }, &workspaces.IpGroupRuleArgs{ Source: pulumi.String("44.98.100.0/24"), Description: pulumi.String("STL"), }, }, }) if err != nil { return err } return nil }) }
```
## Import
Using `pulumi import`, import WorkSpaces IP groups using their GroupID. For example:
```sh $ pulumi import aws:workspaces/ipGroup:IpGroup example wsipg-488lrtl3k ```
func GetIpGroup ¶
func GetIpGroup(ctx *pulumi.Context, name string, id pulumi.IDInput, state *IpGroupState, opts ...pulumi.ResourceOption) (*IpGroup, error)
GetIpGroup gets an existing IpGroup resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewIpGroup ¶
func NewIpGroup(ctx *pulumi.Context, name string, args *IpGroupArgs, opts ...pulumi.ResourceOption) (*IpGroup, error)
NewIpGroup registers a new resource with the given unique name, arguments, and options.
func (*IpGroup) ElementType ¶
func (*IpGroup) ToIpGroupOutput ¶
func (i *IpGroup) ToIpGroupOutput() IpGroupOutput
func (*IpGroup) ToIpGroupOutputWithContext ¶
func (i *IpGroup) ToIpGroupOutputWithContext(ctx context.Context) IpGroupOutput
type IpGroupArgs ¶
type IpGroupArgs struct { // The description of the IP group. Description pulumi.StringPtrInput // The name of the IP group. Name pulumi.StringPtrInput // One or more pairs specifying the IP group rule (in CIDR format) from which web requests originate. Rules IpGroupRuleArrayInput // A map of tags assigned to the WorkSpaces directory. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput }
The set of arguments for constructing a IpGroup resource.
func (IpGroupArgs) ElementType ¶
func (IpGroupArgs) ElementType() reflect.Type
type IpGroupArray ¶
type IpGroupArray []IpGroupInput
func (IpGroupArray) ElementType ¶
func (IpGroupArray) ElementType() reflect.Type
func (IpGroupArray) ToIpGroupArrayOutput ¶
func (i IpGroupArray) ToIpGroupArrayOutput() IpGroupArrayOutput
func (IpGroupArray) ToIpGroupArrayOutputWithContext ¶
func (i IpGroupArray) ToIpGroupArrayOutputWithContext(ctx context.Context) IpGroupArrayOutput
type IpGroupArrayInput ¶
type IpGroupArrayInput interface { pulumi.Input ToIpGroupArrayOutput() IpGroupArrayOutput ToIpGroupArrayOutputWithContext(context.Context) IpGroupArrayOutput }
IpGroupArrayInput is an input type that accepts IpGroupArray and IpGroupArrayOutput values. You can construct a concrete instance of `IpGroupArrayInput` via:
IpGroupArray{ IpGroupArgs{...} }
type IpGroupArrayOutput ¶
type IpGroupArrayOutput struct{ *pulumi.OutputState }
func (IpGroupArrayOutput) ElementType ¶
func (IpGroupArrayOutput) ElementType() reflect.Type
func (IpGroupArrayOutput) Index ¶
func (o IpGroupArrayOutput) Index(i pulumi.IntInput) IpGroupOutput
func (IpGroupArrayOutput) ToIpGroupArrayOutput ¶
func (o IpGroupArrayOutput) ToIpGroupArrayOutput() IpGroupArrayOutput
func (IpGroupArrayOutput) ToIpGroupArrayOutputWithContext ¶
func (o IpGroupArrayOutput) ToIpGroupArrayOutputWithContext(ctx context.Context) IpGroupArrayOutput
type IpGroupInput ¶
type IpGroupInput interface { pulumi.Input ToIpGroupOutput() IpGroupOutput ToIpGroupOutputWithContext(ctx context.Context) IpGroupOutput }
type IpGroupMap ¶
type IpGroupMap map[string]IpGroupInput
func (IpGroupMap) ElementType ¶
func (IpGroupMap) ElementType() reflect.Type
func (IpGroupMap) ToIpGroupMapOutput ¶
func (i IpGroupMap) ToIpGroupMapOutput() IpGroupMapOutput
func (IpGroupMap) ToIpGroupMapOutputWithContext ¶
func (i IpGroupMap) ToIpGroupMapOutputWithContext(ctx context.Context) IpGroupMapOutput
type IpGroupMapInput ¶
type IpGroupMapInput interface { pulumi.Input ToIpGroupMapOutput() IpGroupMapOutput ToIpGroupMapOutputWithContext(context.Context) IpGroupMapOutput }
IpGroupMapInput is an input type that accepts IpGroupMap and IpGroupMapOutput values. You can construct a concrete instance of `IpGroupMapInput` via:
IpGroupMap{ "key": IpGroupArgs{...} }
type IpGroupMapOutput ¶
type IpGroupMapOutput struct{ *pulumi.OutputState }
func (IpGroupMapOutput) ElementType ¶
func (IpGroupMapOutput) ElementType() reflect.Type
func (IpGroupMapOutput) MapIndex ¶
func (o IpGroupMapOutput) MapIndex(k pulumi.StringInput) IpGroupOutput
func (IpGroupMapOutput) ToIpGroupMapOutput ¶
func (o IpGroupMapOutput) ToIpGroupMapOutput() IpGroupMapOutput
func (IpGroupMapOutput) ToIpGroupMapOutputWithContext ¶
func (o IpGroupMapOutput) ToIpGroupMapOutputWithContext(ctx context.Context) IpGroupMapOutput
type IpGroupOutput ¶
type IpGroupOutput struct{ *pulumi.OutputState }
func (IpGroupOutput) Description ¶
func (o IpGroupOutput) Description() pulumi.StringPtrOutput
The description of the IP group.
func (IpGroupOutput) ElementType ¶
func (IpGroupOutput) ElementType() reflect.Type
func (IpGroupOutput) Name ¶
func (o IpGroupOutput) Name() pulumi.StringOutput
The name of the IP group.
func (IpGroupOutput) Rules ¶
func (o IpGroupOutput) Rules() IpGroupRuleArrayOutput
One or more pairs specifying the IP group rule (in CIDR format) from which web requests originate.
func (IpGroupOutput) Tags ¶
func (o IpGroupOutput) Tags() pulumi.StringMapOutput
A map of tags assigned to the WorkSpaces directory. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
func (IpGroupOutput) TagsAll
deprecated
func (o IpGroupOutput) TagsAll() pulumi.StringMapOutput
A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
Deprecated: Please use `tags` instead.
func (IpGroupOutput) ToIpGroupOutput ¶
func (o IpGroupOutput) ToIpGroupOutput() IpGroupOutput
func (IpGroupOutput) ToIpGroupOutputWithContext ¶
func (o IpGroupOutput) ToIpGroupOutputWithContext(ctx context.Context) IpGroupOutput
type IpGroupRule ¶
type IpGroupRuleArgs ¶
type IpGroupRuleArgs struct { // The description of the IP group. Description pulumi.StringPtrInput `pulumi:"description"` Source pulumi.StringInput `pulumi:"source"` }
func (IpGroupRuleArgs) ElementType ¶
func (IpGroupRuleArgs) ElementType() reflect.Type
func (IpGroupRuleArgs) ToIpGroupRuleOutput ¶
func (i IpGroupRuleArgs) ToIpGroupRuleOutput() IpGroupRuleOutput
func (IpGroupRuleArgs) ToIpGroupRuleOutputWithContext ¶
func (i IpGroupRuleArgs) ToIpGroupRuleOutputWithContext(ctx context.Context) IpGroupRuleOutput
type IpGroupRuleArray ¶
type IpGroupRuleArray []IpGroupRuleInput
func (IpGroupRuleArray) ElementType ¶
func (IpGroupRuleArray) ElementType() reflect.Type
func (IpGroupRuleArray) ToIpGroupRuleArrayOutput ¶
func (i IpGroupRuleArray) ToIpGroupRuleArrayOutput() IpGroupRuleArrayOutput
func (IpGroupRuleArray) ToIpGroupRuleArrayOutputWithContext ¶
func (i IpGroupRuleArray) ToIpGroupRuleArrayOutputWithContext(ctx context.Context) IpGroupRuleArrayOutput
type IpGroupRuleArrayInput ¶
type IpGroupRuleArrayInput interface { pulumi.Input ToIpGroupRuleArrayOutput() IpGroupRuleArrayOutput ToIpGroupRuleArrayOutputWithContext(context.Context) IpGroupRuleArrayOutput }
IpGroupRuleArrayInput is an input type that accepts IpGroupRuleArray and IpGroupRuleArrayOutput values. You can construct a concrete instance of `IpGroupRuleArrayInput` via:
IpGroupRuleArray{ IpGroupRuleArgs{...} }
type IpGroupRuleArrayOutput ¶
type IpGroupRuleArrayOutput struct{ *pulumi.OutputState }
func (IpGroupRuleArrayOutput) ElementType ¶
func (IpGroupRuleArrayOutput) ElementType() reflect.Type
func (IpGroupRuleArrayOutput) Index ¶
func (o IpGroupRuleArrayOutput) Index(i pulumi.IntInput) IpGroupRuleOutput
func (IpGroupRuleArrayOutput) ToIpGroupRuleArrayOutput ¶
func (o IpGroupRuleArrayOutput) ToIpGroupRuleArrayOutput() IpGroupRuleArrayOutput
func (IpGroupRuleArrayOutput) ToIpGroupRuleArrayOutputWithContext ¶
func (o IpGroupRuleArrayOutput) ToIpGroupRuleArrayOutputWithContext(ctx context.Context) IpGroupRuleArrayOutput
type IpGroupRuleInput ¶
type IpGroupRuleInput interface { pulumi.Input ToIpGroupRuleOutput() IpGroupRuleOutput ToIpGroupRuleOutputWithContext(context.Context) IpGroupRuleOutput }
IpGroupRuleInput is an input type that accepts IpGroupRuleArgs and IpGroupRuleOutput values. You can construct a concrete instance of `IpGroupRuleInput` via:
IpGroupRuleArgs{...}
type IpGroupRuleOutput ¶
type IpGroupRuleOutput struct{ *pulumi.OutputState }
func (IpGroupRuleOutput) Description ¶
func (o IpGroupRuleOutput) Description() pulumi.StringPtrOutput
The description of the IP group.
func (IpGroupRuleOutput) ElementType ¶
func (IpGroupRuleOutput) ElementType() reflect.Type
func (IpGroupRuleOutput) Source ¶
func (o IpGroupRuleOutput) Source() pulumi.StringOutput
func (IpGroupRuleOutput) ToIpGroupRuleOutput ¶
func (o IpGroupRuleOutput) ToIpGroupRuleOutput() IpGroupRuleOutput
func (IpGroupRuleOutput) ToIpGroupRuleOutputWithContext ¶
func (o IpGroupRuleOutput) ToIpGroupRuleOutputWithContext(ctx context.Context) IpGroupRuleOutput
type IpGroupState ¶
type IpGroupState struct { // The description of the IP group. Description pulumi.StringPtrInput // The name of the IP group. Name pulumi.StringPtrInput // One or more pairs specifying the IP group rule (in CIDR format) from which web requests originate. Rules IpGroupRuleArrayInput // A map of tags assigned to the WorkSpaces directory. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapInput }
func (IpGroupState) ElementType ¶
func (IpGroupState) ElementType() reflect.Type
type LookupDirectoryArgs ¶
type LookupDirectoryArgs struct { // Directory identifier for registration in WorkSpaces service. DirectoryId string `pulumi:"directoryId"` // A map of tags assigned to the WorkSpaces directory. Tags map[string]string `pulumi:"tags"` }
A collection of arguments for invoking getDirectory.
type LookupDirectoryOutputArgs ¶
type LookupDirectoryOutputArgs struct { // Directory identifier for registration in WorkSpaces service. DirectoryId pulumi.StringInput `pulumi:"directoryId"` // A map of tags assigned to the WorkSpaces directory. Tags pulumi.StringMapInput `pulumi:"tags"` }
A collection of arguments for invoking getDirectory.
func (LookupDirectoryOutputArgs) ElementType ¶
func (LookupDirectoryOutputArgs) ElementType() reflect.Type
type LookupDirectoryResult ¶
type LookupDirectoryResult struct { // Directory alias. Alias string `pulumi:"alias"` // User name for the service account. CustomerUserName string `pulumi:"customerUserName"` DirectoryId string `pulumi:"directoryId"` // Name of the directory. DirectoryName string `pulumi:"directoryName"` // Directory type. DirectoryType string `pulumi:"directoryType"` // IP addresses of the DNS servers for the directory. DnsIpAddresses []string `pulumi:"dnsIpAddresses"` // Identifier of the IAM role. This is the role that allows Amazon WorkSpaces to make calls to other services, such as Amazon EC2, on your behalf. IamRoleId string `pulumi:"iamRoleId"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // Identifiers of the IP access control groups associated with the directory. IpGroupIds []string `pulumi:"ipGroupIds"` // Registration code for the directory. This is the code that users enter in their Amazon WorkSpaces client application to connect to the directory. RegistrationCode string `pulumi:"registrationCode"` // The permissions to enable or disable self-service capabilities. SelfServicePermissions []GetDirectorySelfServicePermission `pulumi:"selfServicePermissions"` // Identifiers of the subnets where the directory resides. SubnetIds []string `pulumi:"subnetIds"` // A map of tags assigned to the WorkSpaces directory. Tags map[string]string `pulumi:"tags"` // (Optional) Specifies which devices and operating systems users can use to access their WorkSpaces. Defined below. WorkspaceAccessProperties []GetDirectoryWorkspaceAccessProperty `pulumi:"workspaceAccessProperties"` // The default properties that are used for creating WorkSpaces. Defined below. WorkspaceCreationProperties []GetDirectoryWorkspaceCreationProperty `pulumi:"workspaceCreationProperties"` // The identifier of the security group that is assigned to new WorkSpaces. Defined below. WorkspaceSecurityGroupId string `pulumi:"workspaceSecurityGroupId"` }
A collection of values returned by getDirectory.
func LookupDirectory ¶
func LookupDirectory(ctx *pulumi.Context, args *LookupDirectoryArgs, opts ...pulumi.InvokeOption) (*LookupDirectoryResult, error)
Retrieve information about an AWS WorkSpaces directory.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/workspaces" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := workspaces.LookupDirectory(ctx, &workspaces.LookupDirectoryArgs{ DirectoryId: "d-9067783251", }, nil) if err != nil { return err } return nil }) }
```
type LookupDirectoryResultOutput ¶
type LookupDirectoryResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getDirectory.
func LookupDirectoryOutput ¶
func LookupDirectoryOutput(ctx *pulumi.Context, args LookupDirectoryOutputArgs, opts ...pulumi.InvokeOption) LookupDirectoryResultOutput
func (LookupDirectoryResultOutput) Alias ¶
func (o LookupDirectoryResultOutput) Alias() pulumi.StringOutput
Directory alias.
func (LookupDirectoryResultOutput) CustomerUserName ¶
func (o LookupDirectoryResultOutput) CustomerUserName() pulumi.StringOutput
User name for the service account.
func (LookupDirectoryResultOutput) DirectoryId ¶
func (o LookupDirectoryResultOutput) DirectoryId() pulumi.StringOutput
func (LookupDirectoryResultOutput) DirectoryName ¶
func (o LookupDirectoryResultOutput) DirectoryName() pulumi.StringOutput
Name of the directory.
func (LookupDirectoryResultOutput) DirectoryType ¶
func (o LookupDirectoryResultOutput) DirectoryType() pulumi.StringOutput
Directory type.
func (LookupDirectoryResultOutput) DnsIpAddresses ¶
func (o LookupDirectoryResultOutput) DnsIpAddresses() pulumi.StringArrayOutput
IP addresses of the DNS servers for the directory.
func (LookupDirectoryResultOutput) ElementType ¶
func (LookupDirectoryResultOutput) ElementType() reflect.Type
func (LookupDirectoryResultOutput) IamRoleId ¶
func (o LookupDirectoryResultOutput) IamRoleId() pulumi.StringOutput
Identifier of the IAM role. This is the role that allows Amazon WorkSpaces to make calls to other services, such as Amazon EC2, on your behalf.
func (LookupDirectoryResultOutput) Id ¶
func (o LookupDirectoryResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupDirectoryResultOutput) IpGroupIds ¶
func (o LookupDirectoryResultOutput) IpGroupIds() pulumi.StringArrayOutput
Identifiers of the IP access control groups associated with the directory.
func (LookupDirectoryResultOutput) RegistrationCode ¶
func (o LookupDirectoryResultOutput) RegistrationCode() pulumi.StringOutput
Registration code for the directory. This is the code that users enter in their Amazon WorkSpaces client application to connect to the directory.
func (LookupDirectoryResultOutput) SelfServicePermissions ¶
func (o LookupDirectoryResultOutput) SelfServicePermissions() GetDirectorySelfServicePermissionArrayOutput
The permissions to enable or disable self-service capabilities.
func (LookupDirectoryResultOutput) SubnetIds ¶
func (o LookupDirectoryResultOutput) SubnetIds() pulumi.StringArrayOutput
Identifiers of the subnets where the directory resides.
func (LookupDirectoryResultOutput) Tags ¶
func (o LookupDirectoryResultOutput) Tags() pulumi.StringMapOutput
A map of tags assigned to the WorkSpaces directory.
func (LookupDirectoryResultOutput) ToLookupDirectoryResultOutput ¶
func (o LookupDirectoryResultOutput) ToLookupDirectoryResultOutput() LookupDirectoryResultOutput
func (LookupDirectoryResultOutput) ToLookupDirectoryResultOutputWithContext ¶
func (o LookupDirectoryResultOutput) ToLookupDirectoryResultOutputWithContext(ctx context.Context) LookupDirectoryResultOutput
func (LookupDirectoryResultOutput) WorkspaceAccessProperties ¶
func (o LookupDirectoryResultOutput) WorkspaceAccessProperties() GetDirectoryWorkspaceAccessPropertyArrayOutput
(Optional) Specifies which devices and operating systems users can use to access their WorkSpaces. Defined below.
func (LookupDirectoryResultOutput) WorkspaceCreationProperties ¶
func (o LookupDirectoryResultOutput) WorkspaceCreationProperties() GetDirectoryWorkspaceCreationPropertyArrayOutput
The default properties that are used for creating WorkSpaces. Defined below.
func (LookupDirectoryResultOutput) WorkspaceSecurityGroupId ¶
func (o LookupDirectoryResultOutput) WorkspaceSecurityGroupId() pulumi.StringOutput
The identifier of the security group that is assigned to new WorkSpaces. Defined below.
type LookupWorkspaceArgs ¶
type LookupWorkspaceArgs struct { // ID of the directory for the WorkSpace. You have to specify `userName` along with `directoryId`. You cannot combine this parameter with `workspaceId`. DirectoryId *string `pulumi:"directoryId"` // Tags for the WorkSpace. Tags map[string]string `pulumi:"tags"` // User name of the user for the WorkSpace. This user name must exist in the directory for the WorkSpace. You cannot combine this parameter with `workspaceId`. UserName *string `pulumi:"userName"` // ID of the WorkSpace. You cannot combine this parameter with `directoryId`. WorkspaceId *string `pulumi:"workspaceId"` }
A collection of arguments for invoking getWorkspace.
type LookupWorkspaceOutputArgs ¶
type LookupWorkspaceOutputArgs struct { // ID of the directory for the WorkSpace. You have to specify `userName` along with `directoryId`. You cannot combine this parameter with `workspaceId`. DirectoryId pulumi.StringPtrInput `pulumi:"directoryId"` // Tags for the WorkSpace. Tags pulumi.StringMapInput `pulumi:"tags"` // User name of the user for the WorkSpace. This user name must exist in the directory for the WorkSpace. You cannot combine this parameter with `workspaceId`. UserName pulumi.StringPtrInput `pulumi:"userName"` // ID of the WorkSpace. You cannot combine this parameter with `directoryId`. WorkspaceId pulumi.StringPtrInput `pulumi:"workspaceId"` }
A collection of arguments for invoking getWorkspace.
func (LookupWorkspaceOutputArgs) ElementType ¶
func (LookupWorkspaceOutputArgs) ElementType() reflect.Type
type LookupWorkspaceResult ¶
type LookupWorkspaceResult struct { BundleId string `pulumi:"bundleId"` // Name of the WorkSpace, as seen by the operating system. ComputerName string `pulumi:"computerName"` DirectoryId string `pulumi:"directoryId"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // IP address of the WorkSpace. IpAddress string `pulumi:"ipAddress"` RootVolumeEncryptionEnabled bool `pulumi:"rootVolumeEncryptionEnabled"` // Operational state of the WorkSpace. State string `pulumi:"state"` Tags map[string]string `pulumi:"tags"` UserName string `pulumi:"userName"` UserVolumeEncryptionEnabled bool `pulumi:"userVolumeEncryptionEnabled"` VolumeEncryptionKey string `pulumi:"volumeEncryptionKey"` WorkspaceId string `pulumi:"workspaceId"` WorkspaceProperties []GetWorkspaceWorkspaceProperty `pulumi:"workspaceProperties"` }
A collection of values returned by getWorkspace.
func LookupWorkspace ¶
func LookupWorkspace(ctx *pulumi.Context, args *LookupWorkspaceArgs, opts ...pulumi.InvokeOption) (*LookupWorkspaceResult, error)
Use this data source to get information about a workspace in [AWS Workspaces](https://docs.aws.amazon.com/workspaces/latest/adminguide/amazon-workspaces.html) Service.
## Example Usage
### Filter By Workspace ID
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/workspaces" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := workspaces.LookupWorkspace(ctx, &workspaces.LookupWorkspaceArgs{ WorkspaceId: pulumi.StringRef("ws-cj5xcxsz5"), }, nil) if err != nil { return err } return nil }) }
```
### Filter By Directory ID & User Name
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/workspaces" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := workspaces.LookupWorkspace(ctx, &workspaces.LookupWorkspaceArgs{ DirectoryId: pulumi.StringRef("d-9967252f57"), UserName: pulumi.StringRef("Example"), }, nil) if err != nil { return err } return nil }) }
```
type LookupWorkspaceResultOutput ¶
type LookupWorkspaceResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getWorkspace.
func LookupWorkspaceOutput ¶
func LookupWorkspaceOutput(ctx *pulumi.Context, args LookupWorkspaceOutputArgs, opts ...pulumi.InvokeOption) LookupWorkspaceResultOutput
func (LookupWorkspaceResultOutput) BundleId ¶
func (o LookupWorkspaceResultOutput) BundleId() pulumi.StringOutput
func (LookupWorkspaceResultOutput) ComputerName ¶
func (o LookupWorkspaceResultOutput) ComputerName() pulumi.StringOutput
Name of the WorkSpace, as seen by the operating system.
func (LookupWorkspaceResultOutput) DirectoryId ¶
func (o LookupWorkspaceResultOutput) DirectoryId() pulumi.StringOutput
func (LookupWorkspaceResultOutput) ElementType ¶
func (LookupWorkspaceResultOutput) ElementType() reflect.Type
func (LookupWorkspaceResultOutput) Id ¶
func (o LookupWorkspaceResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupWorkspaceResultOutput) IpAddress ¶
func (o LookupWorkspaceResultOutput) IpAddress() pulumi.StringOutput
IP address of the WorkSpace.
func (LookupWorkspaceResultOutput) RootVolumeEncryptionEnabled ¶
func (o LookupWorkspaceResultOutput) RootVolumeEncryptionEnabled() pulumi.BoolOutput
func (LookupWorkspaceResultOutput) State ¶
func (o LookupWorkspaceResultOutput) State() pulumi.StringOutput
Operational state of the WorkSpace.
func (LookupWorkspaceResultOutput) Tags ¶
func (o LookupWorkspaceResultOutput) Tags() pulumi.StringMapOutput
func (LookupWorkspaceResultOutput) ToLookupWorkspaceResultOutput ¶
func (o LookupWorkspaceResultOutput) ToLookupWorkspaceResultOutput() LookupWorkspaceResultOutput
func (LookupWorkspaceResultOutput) ToLookupWorkspaceResultOutputWithContext ¶
func (o LookupWorkspaceResultOutput) ToLookupWorkspaceResultOutputWithContext(ctx context.Context) LookupWorkspaceResultOutput
func (LookupWorkspaceResultOutput) UserName ¶
func (o LookupWorkspaceResultOutput) UserName() pulumi.StringOutput
func (LookupWorkspaceResultOutput) UserVolumeEncryptionEnabled ¶
func (o LookupWorkspaceResultOutput) UserVolumeEncryptionEnabled() pulumi.BoolOutput
func (LookupWorkspaceResultOutput) VolumeEncryptionKey ¶
func (o LookupWorkspaceResultOutput) VolumeEncryptionKey() pulumi.StringOutput
func (LookupWorkspaceResultOutput) WorkspaceId ¶
func (o LookupWorkspaceResultOutput) WorkspaceId() pulumi.StringOutput
func (LookupWorkspaceResultOutput) WorkspaceProperties ¶
func (o LookupWorkspaceResultOutput) WorkspaceProperties() GetWorkspaceWorkspacePropertyArrayOutput
type Workspace ¶
type Workspace struct { pulumi.CustomResourceState // The ID of the bundle for the WorkSpace. BundleId pulumi.StringOutput `pulumi:"bundleId"` // The name of the WorkSpace, as seen by the operating system. ComputerName pulumi.StringOutput `pulumi:"computerName"` // The ID of the directory for the WorkSpace. DirectoryId pulumi.StringOutput `pulumi:"directoryId"` // The IP address of the WorkSpace. IpAddress pulumi.StringOutput `pulumi:"ipAddress"` // Indicates whether the data stored on the root volume is encrypted. RootVolumeEncryptionEnabled pulumi.BoolPtrOutput `pulumi:"rootVolumeEncryptionEnabled"` // The operational state of the WorkSpace. State pulumi.StringOutput `pulumi:"state"` // The tags for the WorkSpace. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapOutput `pulumi:"tags"` // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` // The user name of the user for the WorkSpace. This user name must exist in the directory for the WorkSpace. UserName pulumi.StringOutput `pulumi:"userName"` // Indicates whether the data stored on the user volume is encrypted. UserVolumeEncryptionEnabled pulumi.BoolPtrOutput `pulumi:"userVolumeEncryptionEnabled"` // The ARN of a symmetric AWS KMS customer master key (CMK) used to encrypt data stored on your WorkSpace. Amazon WorkSpaces does not support asymmetric CMKs. VolumeEncryptionKey pulumi.StringPtrOutput `pulumi:"volumeEncryptionKey"` // The WorkSpace properties. WorkspaceProperties WorkspaceWorkspacePropertiesOutput `pulumi:"workspaceProperties"` }
Provides a workspace in [AWS Workspaces](https://docs.aws.amazon.com/workspaces/latest/adminguide/amazon-workspaces.html) Service
> **NOTE:** AWS WorkSpaces service requires [`workspaces_DefaultRole`](https://docs.aws.amazon.com/workspaces/latest/adminguide/workspaces-access-control.html#create-default-role) IAM role to operate normally.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/kms" "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/workspaces" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { valueWindows10, err := workspaces.GetBundle(ctx, &workspaces.GetBundleArgs{ BundleId: pulumi.StringRef("wsb-bh8rsxt14"), }, nil) if err != nil { return err } workspaces, err := kms.LookupKey(ctx, &kms.LookupKeyArgs{ KeyId: "alias/aws/workspaces", }, nil) if err != nil { return err } _, err = workspaces.NewWorkspace(ctx, "example", &workspaces.WorkspaceArgs{ DirectoryId: pulumi.Any(exampleAwsWorkspacesDirectory.Id), BundleId: pulumi.String(valueWindows10.Id), UserName: pulumi.String("john.doe"), RootVolumeEncryptionEnabled: pulumi.Bool(true), UserVolumeEncryptionEnabled: pulumi.Bool(true), VolumeEncryptionKey: pulumi.String(workspaces.Arn), WorkspaceProperties: &workspaces.WorkspaceWorkspacePropertiesArgs{ ComputeTypeName: pulumi.String("VALUE"), UserVolumeSizeGib: pulumi.Int(10), RootVolumeSizeGib: pulumi.Int(80), RunningMode: pulumi.String("AUTO_STOP"), RunningModeAutoStopTimeoutInMinutes: pulumi.Int(60), }, Tags: pulumi.StringMap{ "Department": pulumi.String("IT"), }, }) if err != nil { return err } return nil }) }
```
## Import
Using `pulumi import`, import Workspaces using their ID. For example:
```sh $ pulumi import aws:workspaces/workspace:Workspace example ws-9z9zmbkhv ```
func GetWorkspace ¶
func GetWorkspace(ctx *pulumi.Context, name string, id pulumi.IDInput, state *WorkspaceState, opts ...pulumi.ResourceOption) (*Workspace, error)
GetWorkspace gets an existing Workspace resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewWorkspace ¶
func NewWorkspace(ctx *pulumi.Context, name string, args *WorkspaceArgs, opts ...pulumi.ResourceOption) (*Workspace, error)
NewWorkspace registers a new resource with the given unique name, arguments, and options.
func (*Workspace) ElementType ¶
func (*Workspace) ToWorkspaceOutput ¶
func (i *Workspace) ToWorkspaceOutput() WorkspaceOutput
func (*Workspace) ToWorkspaceOutputWithContext ¶
func (i *Workspace) ToWorkspaceOutputWithContext(ctx context.Context) WorkspaceOutput
type WorkspaceArgs ¶
type WorkspaceArgs struct { // The ID of the bundle for the WorkSpace. BundleId pulumi.StringInput // The ID of the directory for the WorkSpace. DirectoryId pulumi.StringInput // Indicates whether the data stored on the root volume is encrypted. RootVolumeEncryptionEnabled pulumi.BoolPtrInput // The tags for the WorkSpace. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // The user name of the user for the WorkSpace. This user name must exist in the directory for the WorkSpace. UserName pulumi.StringInput // Indicates whether the data stored on the user volume is encrypted. UserVolumeEncryptionEnabled pulumi.BoolPtrInput // The ARN of a symmetric AWS KMS customer master key (CMK) used to encrypt data stored on your WorkSpace. Amazon WorkSpaces does not support asymmetric CMKs. VolumeEncryptionKey pulumi.StringPtrInput // The WorkSpace properties. WorkspaceProperties WorkspaceWorkspacePropertiesPtrInput }
The set of arguments for constructing a Workspace resource.
func (WorkspaceArgs) ElementType ¶
func (WorkspaceArgs) ElementType() reflect.Type
type WorkspaceArray ¶
type WorkspaceArray []WorkspaceInput
func (WorkspaceArray) ElementType ¶
func (WorkspaceArray) ElementType() reflect.Type
func (WorkspaceArray) ToWorkspaceArrayOutput ¶
func (i WorkspaceArray) ToWorkspaceArrayOutput() WorkspaceArrayOutput
func (WorkspaceArray) ToWorkspaceArrayOutputWithContext ¶
func (i WorkspaceArray) ToWorkspaceArrayOutputWithContext(ctx context.Context) WorkspaceArrayOutput
type WorkspaceArrayInput ¶
type WorkspaceArrayInput interface { pulumi.Input ToWorkspaceArrayOutput() WorkspaceArrayOutput ToWorkspaceArrayOutputWithContext(context.Context) WorkspaceArrayOutput }
WorkspaceArrayInput is an input type that accepts WorkspaceArray and WorkspaceArrayOutput values. You can construct a concrete instance of `WorkspaceArrayInput` via:
WorkspaceArray{ WorkspaceArgs{...} }
type WorkspaceArrayOutput ¶
type WorkspaceArrayOutput struct{ *pulumi.OutputState }
func (WorkspaceArrayOutput) ElementType ¶
func (WorkspaceArrayOutput) ElementType() reflect.Type
func (WorkspaceArrayOutput) Index ¶
func (o WorkspaceArrayOutput) Index(i pulumi.IntInput) WorkspaceOutput
func (WorkspaceArrayOutput) ToWorkspaceArrayOutput ¶
func (o WorkspaceArrayOutput) ToWorkspaceArrayOutput() WorkspaceArrayOutput
func (WorkspaceArrayOutput) ToWorkspaceArrayOutputWithContext ¶
func (o WorkspaceArrayOutput) ToWorkspaceArrayOutputWithContext(ctx context.Context) WorkspaceArrayOutput
type WorkspaceInput ¶
type WorkspaceInput interface { pulumi.Input ToWorkspaceOutput() WorkspaceOutput ToWorkspaceOutputWithContext(ctx context.Context) WorkspaceOutput }
type WorkspaceMap ¶
type WorkspaceMap map[string]WorkspaceInput
func (WorkspaceMap) ElementType ¶
func (WorkspaceMap) ElementType() reflect.Type
func (WorkspaceMap) ToWorkspaceMapOutput ¶
func (i WorkspaceMap) ToWorkspaceMapOutput() WorkspaceMapOutput
func (WorkspaceMap) ToWorkspaceMapOutputWithContext ¶
func (i WorkspaceMap) ToWorkspaceMapOutputWithContext(ctx context.Context) WorkspaceMapOutput
type WorkspaceMapInput ¶
type WorkspaceMapInput interface { pulumi.Input ToWorkspaceMapOutput() WorkspaceMapOutput ToWorkspaceMapOutputWithContext(context.Context) WorkspaceMapOutput }
WorkspaceMapInput is an input type that accepts WorkspaceMap and WorkspaceMapOutput values. You can construct a concrete instance of `WorkspaceMapInput` via:
WorkspaceMap{ "key": WorkspaceArgs{...} }
type WorkspaceMapOutput ¶
type WorkspaceMapOutput struct{ *pulumi.OutputState }
func (WorkspaceMapOutput) ElementType ¶
func (WorkspaceMapOutput) ElementType() reflect.Type
func (WorkspaceMapOutput) MapIndex ¶
func (o WorkspaceMapOutput) MapIndex(k pulumi.StringInput) WorkspaceOutput
func (WorkspaceMapOutput) ToWorkspaceMapOutput ¶
func (o WorkspaceMapOutput) ToWorkspaceMapOutput() WorkspaceMapOutput
func (WorkspaceMapOutput) ToWorkspaceMapOutputWithContext ¶
func (o WorkspaceMapOutput) ToWorkspaceMapOutputWithContext(ctx context.Context) WorkspaceMapOutput
type WorkspaceOutput ¶
type WorkspaceOutput struct{ *pulumi.OutputState }
func (WorkspaceOutput) BundleId ¶
func (o WorkspaceOutput) BundleId() pulumi.StringOutput
The ID of the bundle for the WorkSpace.
func (WorkspaceOutput) ComputerName ¶
func (o WorkspaceOutput) ComputerName() pulumi.StringOutput
The name of the WorkSpace, as seen by the operating system.
func (WorkspaceOutput) DirectoryId ¶
func (o WorkspaceOutput) DirectoryId() pulumi.StringOutput
The ID of the directory for the WorkSpace.
func (WorkspaceOutput) ElementType ¶
func (WorkspaceOutput) ElementType() reflect.Type
func (WorkspaceOutput) IpAddress ¶
func (o WorkspaceOutput) IpAddress() pulumi.StringOutput
The IP address of the WorkSpace.
func (WorkspaceOutput) RootVolumeEncryptionEnabled ¶
func (o WorkspaceOutput) RootVolumeEncryptionEnabled() pulumi.BoolPtrOutput
Indicates whether the data stored on the root volume is encrypted.
func (WorkspaceOutput) State ¶
func (o WorkspaceOutput) State() pulumi.StringOutput
The operational state of the WorkSpace.
func (WorkspaceOutput) Tags ¶
func (o WorkspaceOutput) Tags() pulumi.StringMapOutput
The tags for the WorkSpace. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
func (WorkspaceOutput) TagsAll
deprecated
func (o WorkspaceOutput) TagsAll() pulumi.StringMapOutput
A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
Deprecated: Please use `tags` instead.
func (WorkspaceOutput) ToWorkspaceOutput ¶
func (o WorkspaceOutput) ToWorkspaceOutput() WorkspaceOutput
func (WorkspaceOutput) ToWorkspaceOutputWithContext ¶
func (o WorkspaceOutput) ToWorkspaceOutputWithContext(ctx context.Context) WorkspaceOutput
func (WorkspaceOutput) UserName ¶
func (o WorkspaceOutput) UserName() pulumi.StringOutput
The user name of the user for the WorkSpace. This user name must exist in the directory for the WorkSpace.
func (WorkspaceOutput) UserVolumeEncryptionEnabled ¶
func (o WorkspaceOutput) UserVolumeEncryptionEnabled() pulumi.BoolPtrOutput
Indicates whether the data stored on the user volume is encrypted.
func (WorkspaceOutput) VolumeEncryptionKey ¶
func (o WorkspaceOutput) VolumeEncryptionKey() pulumi.StringPtrOutput
The ARN of a symmetric AWS KMS customer master key (CMK) used to encrypt data stored on your WorkSpace. Amazon WorkSpaces does not support asymmetric CMKs.
func (WorkspaceOutput) WorkspaceProperties ¶
func (o WorkspaceOutput) WorkspaceProperties() WorkspaceWorkspacePropertiesOutput
The WorkSpace properties.
type WorkspaceState ¶
type WorkspaceState struct { // The ID of the bundle for the WorkSpace. BundleId pulumi.StringPtrInput // The name of the WorkSpace, as seen by the operating system. ComputerName pulumi.StringPtrInput // The ID of the directory for the WorkSpace. DirectoryId pulumi.StringPtrInput // The IP address of the WorkSpace. IpAddress pulumi.StringPtrInput // Indicates whether the data stored on the root volume is encrypted. RootVolumeEncryptionEnabled pulumi.BoolPtrInput // The operational state of the WorkSpace. State pulumi.StringPtrInput // The tags for the WorkSpace. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapInput // The user name of the user for the WorkSpace. This user name must exist in the directory for the WorkSpace. UserName pulumi.StringPtrInput // Indicates whether the data stored on the user volume is encrypted. UserVolumeEncryptionEnabled pulumi.BoolPtrInput // The ARN of a symmetric AWS KMS customer master key (CMK) used to encrypt data stored on your WorkSpace. Amazon WorkSpaces does not support asymmetric CMKs. VolumeEncryptionKey pulumi.StringPtrInput // The WorkSpace properties. WorkspaceProperties WorkspaceWorkspacePropertiesPtrInput }
func (WorkspaceState) ElementType ¶
func (WorkspaceState) ElementType() reflect.Type
type WorkspaceWorkspaceProperties ¶
type WorkspaceWorkspaceProperties struct { // The compute type. For more information, see [Amazon WorkSpaces Bundles](http://aws.amazon.com/workspaces/details/#Amazon_WorkSpaces_Bundles). Valid values are `VALUE`, `STANDARD`, `PERFORMANCE`, `POWER`, `GRAPHICS`, `POWERPRO`, `GRAPHICSPRO`, `GRAPHICS_G4DN`, and `GRAPHICSPRO_G4DN`. ComputeTypeName *string `pulumi:"computeTypeName"` // The size of the root volume. RootVolumeSizeGib *int `pulumi:"rootVolumeSizeGib"` // The running mode. For more information, see [Manage the WorkSpace Running Mode](https://docs.aws.amazon.com/workspaces/latest/adminguide/running-mode.html). Valid values are `AUTO_STOP` and `ALWAYS_ON`. RunningMode *string `pulumi:"runningMode"` // The time after a user logs off when WorkSpaces are automatically stopped. Configured in 60-minute intervals. RunningModeAutoStopTimeoutInMinutes *int `pulumi:"runningModeAutoStopTimeoutInMinutes"` // The size of the user storage. UserVolumeSizeGib *int `pulumi:"userVolumeSizeGib"` }
type WorkspaceWorkspacePropertiesArgs ¶
type WorkspaceWorkspacePropertiesArgs struct { // The compute type. For more information, see [Amazon WorkSpaces Bundles](http://aws.amazon.com/workspaces/details/#Amazon_WorkSpaces_Bundles). Valid values are `VALUE`, `STANDARD`, `PERFORMANCE`, `POWER`, `GRAPHICS`, `POWERPRO`, `GRAPHICSPRO`, `GRAPHICS_G4DN`, and `GRAPHICSPRO_G4DN`. ComputeTypeName pulumi.StringPtrInput `pulumi:"computeTypeName"` // The size of the root volume. RootVolumeSizeGib pulumi.IntPtrInput `pulumi:"rootVolumeSizeGib"` // The running mode. For more information, see [Manage the WorkSpace Running Mode](https://docs.aws.amazon.com/workspaces/latest/adminguide/running-mode.html). Valid values are `AUTO_STOP` and `ALWAYS_ON`. RunningMode pulumi.StringPtrInput `pulumi:"runningMode"` // The time after a user logs off when WorkSpaces are automatically stopped. Configured in 60-minute intervals. RunningModeAutoStopTimeoutInMinutes pulumi.IntPtrInput `pulumi:"runningModeAutoStopTimeoutInMinutes"` // The size of the user storage. UserVolumeSizeGib pulumi.IntPtrInput `pulumi:"userVolumeSizeGib"` }
func (WorkspaceWorkspacePropertiesArgs) ElementType ¶
func (WorkspaceWorkspacePropertiesArgs) ElementType() reflect.Type
func (WorkspaceWorkspacePropertiesArgs) ToWorkspaceWorkspacePropertiesOutput ¶
func (i WorkspaceWorkspacePropertiesArgs) ToWorkspaceWorkspacePropertiesOutput() WorkspaceWorkspacePropertiesOutput
func (WorkspaceWorkspacePropertiesArgs) ToWorkspaceWorkspacePropertiesOutputWithContext ¶
func (i WorkspaceWorkspacePropertiesArgs) ToWorkspaceWorkspacePropertiesOutputWithContext(ctx context.Context) WorkspaceWorkspacePropertiesOutput
func (WorkspaceWorkspacePropertiesArgs) ToWorkspaceWorkspacePropertiesPtrOutput ¶
func (i WorkspaceWorkspacePropertiesArgs) ToWorkspaceWorkspacePropertiesPtrOutput() WorkspaceWorkspacePropertiesPtrOutput
func (WorkspaceWorkspacePropertiesArgs) ToWorkspaceWorkspacePropertiesPtrOutputWithContext ¶
func (i WorkspaceWorkspacePropertiesArgs) ToWorkspaceWorkspacePropertiesPtrOutputWithContext(ctx context.Context) WorkspaceWorkspacePropertiesPtrOutput
type WorkspaceWorkspacePropertiesInput ¶
type WorkspaceWorkspacePropertiesInput interface { pulumi.Input ToWorkspaceWorkspacePropertiesOutput() WorkspaceWorkspacePropertiesOutput ToWorkspaceWorkspacePropertiesOutputWithContext(context.Context) WorkspaceWorkspacePropertiesOutput }
WorkspaceWorkspacePropertiesInput is an input type that accepts WorkspaceWorkspacePropertiesArgs and WorkspaceWorkspacePropertiesOutput values. You can construct a concrete instance of `WorkspaceWorkspacePropertiesInput` via:
WorkspaceWorkspacePropertiesArgs{...}
type WorkspaceWorkspacePropertiesOutput ¶
type WorkspaceWorkspacePropertiesOutput struct{ *pulumi.OutputState }
func (WorkspaceWorkspacePropertiesOutput) ComputeTypeName ¶
func (o WorkspaceWorkspacePropertiesOutput) ComputeTypeName() pulumi.StringPtrOutput
The compute type. For more information, see [Amazon WorkSpaces Bundles](http://aws.amazon.com/workspaces/details/#Amazon_WorkSpaces_Bundles). Valid values are `VALUE`, `STANDARD`, `PERFORMANCE`, `POWER`, `GRAPHICS`, `POWERPRO`, `GRAPHICSPRO`, `GRAPHICS_G4DN`, and `GRAPHICSPRO_G4DN`.
func (WorkspaceWorkspacePropertiesOutput) ElementType ¶
func (WorkspaceWorkspacePropertiesOutput) ElementType() reflect.Type
func (WorkspaceWorkspacePropertiesOutput) RootVolumeSizeGib ¶
func (o WorkspaceWorkspacePropertiesOutput) RootVolumeSizeGib() pulumi.IntPtrOutput
The size of the root volume.
func (WorkspaceWorkspacePropertiesOutput) RunningMode ¶
func (o WorkspaceWorkspacePropertiesOutput) RunningMode() pulumi.StringPtrOutput
The running mode. For more information, see [Manage the WorkSpace Running Mode](https://docs.aws.amazon.com/workspaces/latest/adminguide/running-mode.html). Valid values are `AUTO_STOP` and `ALWAYS_ON`.
func (WorkspaceWorkspacePropertiesOutput) RunningModeAutoStopTimeoutInMinutes ¶
func (o WorkspaceWorkspacePropertiesOutput) RunningModeAutoStopTimeoutInMinutes() pulumi.IntPtrOutput
The time after a user logs off when WorkSpaces are automatically stopped. Configured in 60-minute intervals.
func (WorkspaceWorkspacePropertiesOutput) ToWorkspaceWorkspacePropertiesOutput ¶
func (o WorkspaceWorkspacePropertiesOutput) ToWorkspaceWorkspacePropertiesOutput() WorkspaceWorkspacePropertiesOutput
func (WorkspaceWorkspacePropertiesOutput) ToWorkspaceWorkspacePropertiesOutputWithContext ¶
func (o WorkspaceWorkspacePropertiesOutput) ToWorkspaceWorkspacePropertiesOutputWithContext(ctx context.Context) WorkspaceWorkspacePropertiesOutput
func (WorkspaceWorkspacePropertiesOutput) ToWorkspaceWorkspacePropertiesPtrOutput ¶
func (o WorkspaceWorkspacePropertiesOutput) ToWorkspaceWorkspacePropertiesPtrOutput() WorkspaceWorkspacePropertiesPtrOutput
func (WorkspaceWorkspacePropertiesOutput) ToWorkspaceWorkspacePropertiesPtrOutputWithContext ¶
func (o WorkspaceWorkspacePropertiesOutput) ToWorkspaceWorkspacePropertiesPtrOutputWithContext(ctx context.Context) WorkspaceWorkspacePropertiesPtrOutput
func (WorkspaceWorkspacePropertiesOutput) UserVolumeSizeGib ¶
func (o WorkspaceWorkspacePropertiesOutput) UserVolumeSizeGib() pulumi.IntPtrOutput
The size of the user storage.
type WorkspaceWorkspacePropertiesPtrInput ¶
type WorkspaceWorkspacePropertiesPtrInput interface { pulumi.Input ToWorkspaceWorkspacePropertiesPtrOutput() WorkspaceWorkspacePropertiesPtrOutput ToWorkspaceWorkspacePropertiesPtrOutputWithContext(context.Context) WorkspaceWorkspacePropertiesPtrOutput }
WorkspaceWorkspacePropertiesPtrInput is an input type that accepts WorkspaceWorkspacePropertiesArgs, WorkspaceWorkspacePropertiesPtr and WorkspaceWorkspacePropertiesPtrOutput values. You can construct a concrete instance of `WorkspaceWorkspacePropertiesPtrInput` via:
WorkspaceWorkspacePropertiesArgs{...} or: nil
func WorkspaceWorkspacePropertiesPtr ¶
func WorkspaceWorkspacePropertiesPtr(v *WorkspaceWorkspacePropertiesArgs) WorkspaceWorkspacePropertiesPtrInput
type WorkspaceWorkspacePropertiesPtrOutput ¶
type WorkspaceWorkspacePropertiesPtrOutput struct{ *pulumi.OutputState }
func (WorkspaceWorkspacePropertiesPtrOutput) ComputeTypeName ¶
func (o WorkspaceWorkspacePropertiesPtrOutput) ComputeTypeName() pulumi.StringPtrOutput
The compute type. For more information, see [Amazon WorkSpaces Bundles](http://aws.amazon.com/workspaces/details/#Amazon_WorkSpaces_Bundles). Valid values are `VALUE`, `STANDARD`, `PERFORMANCE`, `POWER`, `GRAPHICS`, `POWERPRO`, `GRAPHICSPRO`, `GRAPHICS_G4DN`, and `GRAPHICSPRO_G4DN`.
func (WorkspaceWorkspacePropertiesPtrOutput) ElementType ¶
func (WorkspaceWorkspacePropertiesPtrOutput) ElementType() reflect.Type
func (WorkspaceWorkspacePropertiesPtrOutput) RootVolumeSizeGib ¶
func (o WorkspaceWorkspacePropertiesPtrOutput) RootVolumeSizeGib() pulumi.IntPtrOutput
The size of the root volume.
func (WorkspaceWorkspacePropertiesPtrOutput) RunningMode ¶
func (o WorkspaceWorkspacePropertiesPtrOutput) RunningMode() pulumi.StringPtrOutput
The running mode. For more information, see [Manage the WorkSpace Running Mode](https://docs.aws.amazon.com/workspaces/latest/adminguide/running-mode.html). Valid values are `AUTO_STOP` and `ALWAYS_ON`.
func (WorkspaceWorkspacePropertiesPtrOutput) RunningModeAutoStopTimeoutInMinutes ¶
func (o WorkspaceWorkspacePropertiesPtrOutput) RunningModeAutoStopTimeoutInMinutes() pulumi.IntPtrOutput
The time after a user logs off when WorkSpaces are automatically stopped. Configured in 60-minute intervals.
func (WorkspaceWorkspacePropertiesPtrOutput) ToWorkspaceWorkspacePropertiesPtrOutput ¶
func (o WorkspaceWorkspacePropertiesPtrOutput) ToWorkspaceWorkspacePropertiesPtrOutput() WorkspaceWorkspacePropertiesPtrOutput
func (WorkspaceWorkspacePropertiesPtrOutput) ToWorkspaceWorkspacePropertiesPtrOutputWithContext ¶
func (o WorkspaceWorkspacePropertiesPtrOutput) ToWorkspaceWorkspacePropertiesPtrOutputWithContext(ctx context.Context) WorkspaceWorkspacePropertiesPtrOutput
func (WorkspaceWorkspacePropertiesPtrOutput) UserVolumeSizeGib ¶
func (o WorkspaceWorkspacePropertiesPtrOutput) UserVolumeSizeGib() pulumi.IntPtrOutput
The size of the user storage.