Documentation ¶
Index ¶
- type Directory
- type DirectoryArgs
- 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 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 GetBundleResult
- 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 IpGroup
- type IpGroupArgs
- 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 Workspace
- type WorkspaceArgs
- 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 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"` // The permissions to enable or disable self-service capabilities. 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. Tags pulumi.StringMapOutput `pulumi:"tags"` // The identifier of the security group that is assigned to new WorkSpaces. WorkspaceSecurityGroupId pulumi.StringOutput `pulumi:"workspaceSecurityGroupId"` }
Provides a directory registration in AWS WorkSpaces Service
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v2/go/aws/directoryservice" "github.com/pulumi/pulumi-aws/sdk/v2/go/aws/ec2" "github.com/pulumi/pulumi-aws/sdk/v2/go/aws/workspaces" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { mainVpc, err := ec2.NewVpc(ctx, "mainVpc", &ec2.VpcArgs{ CidrBlock: pulumi.String("10.0.0.0/16"), }) if err != nil { return err } _, err = ec2.NewSubnet(ctx, "private_a", &ec2.SubnetArgs{ AvailabilityZone: pulumi.String("us-east-1a"), CidrBlock: pulumi.String("10.0.0.0/24"), VpcId: mainVpc.ID(), }) if err != nil { return err } _, err = ec2.NewSubnet(ctx, "private_b", &ec2.SubnetArgs{ AvailabilityZone: pulumi.String("us-east-1b"), CidrBlock: pulumi.String("10.0.1.0/24"), VpcId: mainVpc.ID(), }) if err != nil { return err } mainDirectory, err := directoryservice.NewDirectory(ctx, "mainDirectory", &directoryservice.DirectoryArgs{ Password: pulumi.String("#S1ncerely"), Size: pulumi.String("Small"), VpcSettings: &directoryservice.DirectoryVpcSettingsArgs{ SubnetIds: pulumi.StringArray{ private_a.ID(), private_b.ID(), }, VpcId: mainVpc.ID(), }, }) if err != nil { return err } _, err = workspaces.NewDirectory(ctx, "mainWorkspaces_directoryDirectory", &workspaces.DirectoryArgs{ DirectoryId: mainDirectory.ID(), SelfServicePermissions: &workspaces.DirectorySelfServicePermissionsArgs{ IncreaseVolumeSize: pulumi.Bool(true), RebuildWorkspace: pulumi.Bool(true), }, }) if err != nil { return err } return nil }) }
```
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.
type DirectoryArgs ¶
type DirectoryArgs struct { // The directory identifier for registration in WorkSpaces service. DirectoryId pulumi.StringInput // The permissions to enable or disable self-service capabilities. SelfServicePermissions DirectorySelfServicePermissionsPtrInput // The identifiers of the subnets where the directory resides. SubnetIds pulumi.StringArrayInput // A map of tags assigned to the WorkSpaces directory. Tags pulumi.StringMapInput }
The set of arguments for constructing a Directory resource.
func (DirectoryArgs) ElementType ¶
func (DirectoryArgs) ElementType() reflect.Type
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 // The permissions to enable or disable self-service capabilities. SelfServicePermissions DirectorySelfServicePermissionsPtrInput // The identifiers of the subnets where the directory resides. SubnetIds pulumi.StringArrayInput // A map of tags assigned to the WorkSpaces directory. Tags pulumi.StringMapInput // The identifier of the security group that is assigned to new WorkSpaces. WorkspaceSecurityGroupId pulumi.StringPtrInput }
func (DirectoryState) ElementType ¶
func (DirectoryState) ElementType() reflect.Type
type GetBundleArgs ¶
type GetBundleArgs struct { // The ID of the bundle. BundleId *string `pulumi:"bundleId"` // The name of the bundle. You cannot combine this parameter with `bundleId`. Name *string `pulumi:"name"` // The 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 { // The name of the bundle. You cannot combine this parameter with `bundleId`. Name string `pulumi:"name"` }
type GetBundleComputeTypeArgs ¶
type GetBundleComputeTypeArgs struct { // The 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
The 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 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"` // The 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)
Use this data source to get information about a WorkSpaces Bundle.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v2/go/aws/workspaces" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { opt0 := "Value with Windows 10 and Office 2016" opt1 := "AMAZON" _, err := workspaces.GetBundle(ctx, &workspaces.GetBundleArgs{ Name: &opt0, Owner: &opt1, }, nil) if err != nil { return err } return nil }) }
```
type GetBundleRootStorage ¶
type GetBundleRootStorage struct { // The size of the user storage. Capacity string `pulumi:"capacity"` }
type GetBundleRootStorageArgs ¶
type GetBundleRootStorageArgs struct { // The 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
The 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 { // The size of the user storage. Capacity string `pulumi:"capacity"` }
type GetBundleUserStorageArgs ¶
type GetBundleUserStorageArgs struct { // The 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
The 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 IpGroup ¶
type IpGroup struct { pulumi.CustomResourceState // The description. 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"` Tags pulumi.StringMapOutput `pulumi:"tags"` }
Provides an IP access control group in AWS WorkSpaces Service
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v2/go/aws/workspaces" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := workspaces.NewIpGroup(ctx, "contractors", &workspaces.IpGroupArgs{ Description: pulumi.String("Contractors IP access control group"), }) if err != nil { return err } return nil }) }
```
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.
type IpGroupArgs ¶
type IpGroupArgs struct { // The description. 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 Tags pulumi.StringMapInput }
The set of arguments for constructing a IpGroup resource.
func (IpGroupArgs) ElementType ¶
func (IpGroupArgs) ElementType() reflect.Type
type IpGroupRule ¶
type IpGroupRuleArgs ¶
type IpGroupRuleArgs struct { // The description. Description pulumi.StringPtrInput `pulumi:"description"` // The IP address range, in CIDR notation, e.g. `10.0.0.0/16` 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.
func (IpGroupRuleOutput) ElementType ¶
func (IpGroupRuleOutput) ElementType() reflect.Type
func (IpGroupRuleOutput) Source ¶
func (o IpGroupRuleOutput) Source() pulumi.StringOutput
The IP address range, in CIDR notation, e.g. `10.0.0.0/16`
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. 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 Tags pulumi.StringMapInput }
func (IpGroupState) ElementType ¶
func (IpGroupState) ElementType() reflect.Type
type Workspace ¶ added in v2.5.0
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. Tags pulumi.StringMapOutput `pulumi:"tags"` // 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 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:** During deletion of an `workspaces.Workspace` resource, the service role `workspaces_DefaultRole` must be attached to the policy `arn:aws:iam::aws:policy/AmazonWorkSpacesServiceAccess`, or it will leak the ENI that the Workspaces service creates for the Workspace.
func GetWorkspace ¶ added in v2.5.0
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 ¶ added in v2.5.0
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.
type WorkspaceArgs ¶ added in v2.5.0
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. 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 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 ¶ added in v2.5.0
func (WorkspaceArgs) ElementType() reflect.Type
type WorkspaceState ¶ added in v2.5.0
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. 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.StringPtrInput // Indicates whether the data stored on the user volume is encrypted. UserVolumeEncryptionEnabled pulumi.BoolPtrInput // The 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 ¶ added in v2.5.0
func (WorkspaceState) ElementType() reflect.Type
type WorkspaceWorkspaceProperties ¶ added in v2.5.0
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` and `GRAPHICSPRO`. 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 ¶ added in v2.5.0
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` and `GRAPHICSPRO`. 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 ¶ added in v2.5.0
func (WorkspaceWorkspacePropertiesArgs) ElementType() reflect.Type
func (WorkspaceWorkspacePropertiesArgs) ToWorkspaceWorkspacePropertiesOutput ¶ added in v2.5.0
func (i WorkspaceWorkspacePropertiesArgs) ToWorkspaceWorkspacePropertiesOutput() WorkspaceWorkspacePropertiesOutput
func (WorkspaceWorkspacePropertiesArgs) ToWorkspaceWorkspacePropertiesOutputWithContext ¶ added in v2.5.0
func (i WorkspaceWorkspacePropertiesArgs) ToWorkspaceWorkspacePropertiesOutputWithContext(ctx context.Context) WorkspaceWorkspacePropertiesOutput
func (WorkspaceWorkspacePropertiesArgs) ToWorkspaceWorkspacePropertiesPtrOutput ¶ added in v2.5.0
func (i WorkspaceWorkspacePropertiesArgs) ToWorkspaceWorkspacePropertiesPtrOutput() WorkspaceWorkspacePropertiesPtrOutput
func (WorkspaceWorkspacePropertiesArgs) ToWorkspaceWorkspacePropertiesPtrOutputWithContext ¶ added in v2.5.0
func (i WorkspaceWorkspacePropertiesArgs) ToWorkspaceWorkspacePropertiesPtrOutputWithContext(ctx context.Context) WorkspaceWorkspacePropertiesPtrOutput
type WorkspaceWorkspacePropertiesInput ¶ added in v2.5.0
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 ¶ added in v2.5.0
type WorkspaceWorkspacePropertiesOutput struct{ *pulumi.OutputState }
func (WorkspaceWorkspacePropertiesOutput) ComputeTypeName ¶ added in v2.5.0
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` and `GRAPHICSPRO`.
func (WorkspaceWorkspacePropertiesOutput) ElementType ¶ added in v2.5.0
func (WorkspaceWorkspacePropertiesOutput) ElementType() reflect.Type
func (WorkspaceWorkspacePropertiesOutput) RootVolumeSizeGib ¶ added in v2.5.0
func (o WorkspaceWorkspacePropertiesOutput) RootVolumeSizeGib() pulumi.IntPtrOutput
The size of the root volume.
func (WorkspaceWorkspacePropertiesOutput) RunningMode ¶ added in v2.5.0
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 ¶ added in v2.5.0
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 ¶ added in v2.5.0
func (o WorkspaceWorkspacePropertiesOutput) ToWorkspaceWorkspacePropertiesOutput() WorkspaceWorkspacePropertiesOutput
func (WorkspaceWorkspacePropertiesOutput) ToWorkspaceWorkspacePropertiesOutputWithContext ¶ added in v2.5.0
func (o WorkspaceWorkspacePropertiesOutput) ToWorkspaceWorkspacePropertiesOutputWithContext(ctx context.Context) WorkspaceWorkspacePropertiesOutput
func (WorkspaceWorkspacePropertiesOutput) ToWorkspaceWorkspacePropertiesPtrOutput ¶ added in v2.5.0
func (o WorkspaceWorkspacePropertiesOutput) ToWorkspaceWorkspacePropertiesPtrOutput() WorkspaceWorkspacePropertiesPtrOutput
func (WorkspaceWorkspacePropertiesOutput) ToWorkspaceWorkspacePropertiesPtrOutputWithContext ¶ added in v2.5.0
func (o WorkspaceWorkspacePropertiesOutput) ToWorkspaceWorkspacePropertiesPtrOutputWithContext(ctx context.Context) WorkspaceWorkspacePropertiesPtrOutput
func (WorkspaceWorkspacePropertiesOutput) UserVolumeSizeGib ¶ added in v2.5.0
func (o WorkspaceWorkspacePropertiesOutput) UserVolumeSizeGib() pulumi.IntPtrOutput
The size of the user storage.
type WorkspaceWorkspacePropertiesPtrInput ¶ added in v2.5.0
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 ¶ added in v2.5.0
func WorkspaceWorkspacePropertiesPtr(v *WorkspaceWorkspacePropertiesArgs) WorkspaceWorkspacePropertiesPtrInput
type WorkspaceWorkspacePropertiesPtrOutput ¶ added in v2.5.0
type WorkspaceWorkspacePropertiesPtrOutput struct{ *pulumi.OutputState }
func (WorkspaceWorkspacePropertiesPtrOutput) ComputeTypeName ¶ added in v2.5.0
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` and `GRAPHICSPRO`.
func (WorkspaceWorkspacePropertiesPtrOutput) ElementType ¶ added in v2.5.0
func (WorkspaceWorkspacePropertiesPtrOutput) ElementType() reflect.Type
func (WorkspaceWorkspacePropertiesPtrOutput) RootVolumeSizeGib ¶ added in v2.5.0
func (o WorkspaceWorkspacePropertiesPtrOutput) RootVolumeSizeGib() pulumi.IntPtrOutput
The size of the root volume.
func (WorkspaceWorkspacePropertiesPtrOutput) RunningMode ¶ added in v2.5.0
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 ¶ added in v2.5.0
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 ¶ added in v2.5.0
func (o WorkspaceWorkspacePropertiesPtrOutput) ToWorkspaceWorkspacePropertiesPtrOutput() WorkspaceWorkspacePropertiesPtrOutput
func (WorkspaceWorkspacePropertiesPtrOutput) ToWorkspaceWorkspacePropertiesPtrOutputWithContext ¶ added in v2.5.0
func (o WorkspaceWorkspacePropertiesPtrOutput) ToWorkspaceWorkspacePropertiesPtrOutputWithContext(ctx context.Context) WorkspaceWorkspacePropertiesPtrOutput
func (WorkspaceWorkspacePropertiesPtrOutput) UserVolumeSizeGib ¶ added in v2.5.0
func (o WorkspaceWorkspacePropertiesPtrOutput) UserVolumeSizeGib() pulumi.IntPtrOutput
The size of the user storage.