workspaces

package
v4.0.0-beta.2 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

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"`
	// 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.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// 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/v4/go/aws/directoryservice"
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/ec2"
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/iam"
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/workspaces"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		workspaces, err := iam.GetPolicyDocument(ctx, &iam.GetPolicyDocumentArgs{
			Statements: []iam.GetPolicyDocumentStatement{
				iam.GetPolicyDocumentStatement{
					Actions: []string{
						"sts:AssumeRole",
					},
					Principals: []iam.GetPolicyDocumentStatementPrincipal{
						iam.GetPolicyDocumentStatementPrincipal{
							Type: "Service",
							Identifiers: []string{
								"workspaces.amazonaws.com",
							},
						},
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		workspacesDefault, err := iam.NewRole(ctx, "workspacesDefault", &iam.RoleArgs{
			AssumeRolePolicy: pulumi.String(workspaces.Json),
		})
		if err != nil {
			return err
		}
		workspacesDefaultServiceAccess, err := iam.NewRolePolicyAttachment(ctx, "workspacesDefaultServiceAccess", &iam.RolePolicyAttachmentArgs{
			Role:      workspacesDefault.Name,
			PolicyArn: pulumi.String("arn:aws:iam::aws:policy/AmazonWorkSpacesServiceAccess"),
		})
		if err != nil {
			return err
		}
		workspacesDefaultSelfServiceAccess, err := iam.NewRolePolicyAttachment(ctx, "workspacesDefaultSelfServiceAccess", &iam.RolePolicyAttachmentArgs{
			Role:      workspacesDefault.Name,
			PolicyArn: pulumi.String("arn:aws:iam::aws:policy/AmazonWorkSpacesSelfServiceAccess"),
		})
		if err != nil {
			return err
		}
		exampleVpc, err := ec2.NewVpc(ctx, "exampleVpc", &ec2.VpcArgs{
			CidrBlock: pulumi.String("10.0.0.0/16"),
		})
		if err != nil {
			return err
		}
		exampleC, err := ec2.NewSubnet(ctx, "exampleC", &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, "exampleD", &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, "exampleDirectory", &workspaces.DirectoryArgs{
			DirectoryId: pulumi.String(exampleDirectoryservice / directoryDirectory.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"),
				DeviceTypeOsx:        pulumi.String("ALLOW"),
				DeviceTypeWeb:        pulumi.String("DENY"),
				DeviceTypeWindows:    pulumi.String("DENY"),
				DeviceTypeZeroclient: pulumi.String("DENY"),
			},
			WorkspaceCreationProperties: &workspaces.DirectoryWorkspaceCreationPropertiesArgs{
				CustomSecurityGroupId:           pulumi.Any(aws_security_group.Example.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
		}
		exampleA, err := ec2.NewSubnet(ctx, "exampleA", &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, "exampleB", &ec2.SubnetArgs{
			VpcId:            exampleVpc.ID(),
			AvailabilityZone: pulumi.String("us-east-1b"),
			CidrBlock:        pulumi.String("10.0.1.0/24"),
		})
		if err != nil {
			return err
		}
		_, err = directoryservice.NewDirectory(ctx, "exampleDirectoryservice_directoryDirectory", &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
		}
		return nil
	})
}

``` ### IP Groups

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v4/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, "exampleIpGroup", nil)
		if err != nil {
			return err
		}
		_, err = workspaces.NewDirectory(ctx, "exampleDirectory", &workspaces.DirectoryArgs{
			DirectoryId: pulumi.Any(aws_directory_service_directory.Example.Id),
			IpGroupIds: pulumi.StringArray{
				exampleIpGroup.ID(),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Workspaces directory can be imported using the directory ID, e.g.

```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) ElementType() reflect.Type

func (*Directory) ToDirectoryOutput

func (i *Directory) ToDirectoryOutput() DirectoryOutput

func (*Directory) ToDirectoryOutputWithContext

func (i *Directory) ToDirectoryOutputWithContext(ctx context.Context) DirectoryOutput

func (*Directory) ToDirectoryPtrOutput

func (i *Directory) ToDirectoryPtrOutput() DirectoryPtrOutput

func (*Directory) ToDirectoryPtrOutputWithContext

func (i *Directory) ToDirectoryPtrOutputWithContext(ctx context.Context) DirectoryPtrOutput

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.
	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 (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 (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) ElementType

func (DirectoryOutput) ElementType() reflect.Type

func (DirectoryOutput) ToDirectoryOutput

func (o DirectoryOutput) ToDirectoryOutput() DirectoryOutput

func (DirectoryOutput) ToDirectoryOutputWithContext

func (o DirectoryOutput) ToDirectoryOutputWithContext(ctx context.Context) DirectoryOutput

func (DirectoryOutput) ToDirectoryPtrOutput

func (o DirectoryOutput) ToDirectoryPtrOutput() DirectoryPtrOutput

func (DirectoryOutput) ToDirectoryPtrOutputWithContext

func (o DirectoryOutput) ToDirectoryPtrOutputWithContext(ctx context.Context) DirectoryPtrOutput

type DirectoryPtrInput

type DirectoryPtrInput interface {
	pulumi.Input

	ToDirectoryPtrOutput() DirectoryPtrOutput
	ToDirectoryPtrOutputWithContext(ctx context.Context) DirectoryPtrOutput
}

type DirectoryPtrOutput

type DirectoryPtrOutput struct {
	*pulumi.OutputState
}

func (DirectoryPtrOutput) ElementType

func (DirectoryPtrOutput) ElementType() reflect.Type

func (DirectoryPtrOutput) ToDirectoryPtrOutput

func (o DirectoryPtrOutput) ToDirectoryPtrOutput() DirectoryPtrOutput

func (DirectoryPtrOutput) ToDirectoryPtrOutputWithContext

func (o DirectoryPtrOutput) ToDirectoryPtrOutputWithContext(ctx context.Context) DirectoryPtrOutput

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) 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

Whether WorkSpaces directory users can change the compute type (bundle) for their workspace. Default `false`.

func (DirectorySelfServicePermissionsOutput) ElementType

func (DirectorySelfServicePermissionsOutput) IncreaseVolumeSize

Whether WorkSpaces directory users can increase the volume size of the drives on their workspace. Default `false`.

func (DirectorySelfServicePermissionsOutput) RebuildWorkspace

Whether WorkSpaces directory users can rebuild the operating system of a workspace to its original state. Default `false`.

func (DirectorySelfServicePermissionsOutput) RestartWorkspace

Whether WorkSpaces directory users can restart their workspace. Default `true`.

func (DirectorySelfServicePermissionsOutput) SwitchRunningMode

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

type DirectorySelfServicePermissionsPtrOutput

type DirectorySelfServicePermissionsPtrOutput struct{ *pulumi.OutputState }

func (DirectorySelfServicePermissionsPtrOutput) ChangeComputeType

Whether WorkSpaces directory users can change the compute type (bundle) for their workspace. Default `false`.

func (DirectorySelfServicePermissionsPtrOutput) Elem

func (DirectorySelfServicePermissionsPtrOutput) ElementType

func (DirectorySelfServicePermissionsPtrOutput) IncreaseVolumeSize

Whether WorkSpaces directory users can increase the volume size of the drives on their workspace. Default `false`.

func (DirectorySelfServicePermissionsPtrOutput) RebuildWorkspace

Whether WorkSpaces directory users can rebuild the operating system of a workspace to its original state. Default `false`.

func (DirectorySelfServicePermissionsPtrOutput) RestartWorkspace

Whether WorkSpaces directory users can restart their workspace. Default `true`.

func (DirectorySelfServicePermissionsPtrOutput) SwitchRunningMode

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.
	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 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 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 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) 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

Indicates whether users can use Android devices to access their WorkSpaces.

func (DirectoryWorkspaceAccessPropertiesOutput) DeviceTypeChromeos

Indicates whether users can use Chromebooks to access their WorkSpaces.

func (DirectoryWorkspaceAccessPropertiesOutput) DeviceTypeIos

Indicates whether users can use iOS devices to access their WorkSpaces.

func (DirectoryWorkspaceAccessPropertiesOutput) DeviceTypeOsx

Indicates whether users can use macOS clients to access their WorkSpaces.

func (DirectoryWorkspaceAccessPropertiesOutput) DeviceTypeWeb

Indicates whether users can access their WorkSpaces through a web browser.

func (DirectoryWorkspaceAccessPropertiesOutput) DeviceTypeWindows

Indicates whether users can use Windows clients to access their WorkSpaces.

func (DirectoryWorkspaceAccessPropertiesOutput) DeviceTypeZeroclient

Indicates whether users can use zero client devices to access their WorkSpaces.

func (DirectoryWorkspaceAccessPropertiesOutput) ElementType

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

type DirectoryWorkspaceAccessPropertiesPtrOutput

type DirectoryWorkspaceAccessPropertiesPtrOutput struct{ *pulumi.OutputState }

func (DirectoryWorkspaceAccessPropertiesPtrOutput) DeviceTypeAndroid

Indicates whether users can use Android devices to access their WorkSpaces.

func (DirectoryWorkspaceAccessPropertiesPtrOutput) DeviceTypeChromeos

Indicates whether users can use Chromebooks to access their WorkSpaces.

func (DirectoryWorkspaceAccessPropertiesPtrOutput) DeviceTypeIos

Indicates whether users can use iOS devices to access their WorkSpaces.

func (DirectoryWorkspaceAccessPropertiesPtrOutput) DeviceTypeOsx

Indicates whether users can use macOS clients to access their WorkSpaces.

func (DirectoryWorkspaceAccessPropertiesPtrOutput) DeviceTypeWeb

Indicates whether users can access their WorkSpaces through a web browser.

func (DirectoryWorkspaceAccessPropertiesPtrOutput) DeviceTypeWindows

Indicates whether users can use Windows clients to access their WorkSpaces.

func (DirectoryWorkspaceAccessPropertiesPtrOutput) DeviceTypeZeroclient

Indicates whether users can use zero client devices to access their WorkSpaces.

func (DirectoryWorkspaceAccessPropertiesPtrOutput) Elem

func (DirectoryWorkspaceAccessPropertiesPtrOutput) ElementType

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) 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

The identifier of your custom security group. Should relate to the same VPC, where workspaces reside in.

func (DirectoryWorkspaceCreationPropertiesOutput) DefaultOu

The default organizational unit (OU) for your WorkSpace directories. Should conform `"OU=<value>,DC=<value>,...,DC=<value>"` pattern.

func (DirectoryWorkspaceCreationPropertiesOutput) ElementType

func (DirectoryWorkspaceCreationPropertiesOutput) EnableInternetAccess

Indicates whether internet access is enabled for your WorkSpaces.

func (DirectoryWorkspaceCreationPropertiesOutput) EnableMaintenanceMode

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

type DirectoryWorkspaceCreationPropertiesPtrOutput

type DirectoryWorkspaceCreationPropertiesPtrOutput struct{ *pulumi.OutputState }

func (DirectoryWorkspaceCreationPropertiesPtrOutput) CustomSecurityGroupId

The identifier of your custom security group. Should relate to the same VPC, where workspaces reside in.

func (DirectoryWorkspaceCreationPropertiesPtrOutput) DefaultOu

The default organizational unit (OU) for your WorkSpace directories. Should conform `"OU=<value>,DC=<value>,...,DC=<value>"` pattern.

func (DirectoryWorkspaceCreationPropertiesPtrOutput) Elem

func (DirectoryWorkspaceCreationPropertiesPtrOutput) ElementType

func (DirectoryWorkspaceCreationPropertiesPtrOutput) EnableInternetAccess

Indicates whether internet access is enabled for your WorkSpaces.

func (DirectoryWorkspaceCreationPropertiesPtrOutput) EnableMaintenanceMode

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 {
	// 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) Index

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

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)

Retrieve information about an AWS WorkSpaces bundle.

## Example Usage ### By ID

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/workspaces"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		opt0 := "wsb-b0s22j3d7"
		_, err := workspaces.GetBundle(ctx, &workspaces.GetBundleArgs{
			BundleId: &opt0,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### By Owner & Name

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/workspaces"
"github.com/pulumi/pulumi/sdk/v3/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) Index

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

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) Index

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

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 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) 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) 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) Index

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

Whether WorkSpaces directory users can change the compute type (bundle) for their workspace.

func (GetDirectorySelfServicePermissionOutput) ElementType

func (GetDirectorySelfServicePermissionOutput) IncreaseVolumeSize

Whether WorkSpaces directory users can increase the volume size of the drives on their workspace.

func (GetDirectorySelfServicePermissionOutput) RebuildWorkspace

Whether WorkSpaces directory users can rebuild the operating system of a workspace to its original state.

func (GetDirectorySelfServicePermissionOutput) RestartWorkspace

Whether WorkSpaces directory users can restart their workspace.

func (GetDirectorySelfServicePermissionOutput) SwitchRunningMode

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 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 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) 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) 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) Index

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

(Optional) Indicates whether users can use Android devices to access their WorkSpaces.

func (GetDirectoryWorkspaceAccessPropertyOutput) DeviceTypeChromeos

(Optional) Indicates whether users can use Chromebooks to access their WorkSpaces.

func (GetDirectoryWorkspaceAccessPropertyOutput) DeviceTypeIos

(Optional) Indicates whether users can use iOS devices to access their WorkSpaces.

func (GetDirectoryWorkspaceAccessPropertyOutput) DeviceTypeOsx

(Optional) Indicates whether users can use macOS clients to access their WorkSpaces.

func (GetDirectoryWorkspaceAccessPropertyOutput) DeviceTypeWeb

(Optional) Indicates whether users can access their WorkSpaces through a web browser.

func (GetDirectoryWorkspaceAccessPropertyOutput) DeviceTypeWindows

(Optional) Indicates whether users can use Windows clients to access their WorkSpaces.

func (GetDirectoryWorkspaceAccessPropertyOutput) DeviceTypeZeroclient

(Optional) Indicates whether users can use zero client devices to access their WorkSpaces.

func (GetDirectoryWorkspaceAccessPropertyOutput) ElementType

func (GetDirectoryWorkspaceAccessPropertyOutput) ToGetDirectoryWorkspaceAccessPropertyOutput

func (o GetDirectoryWorkspaceAccessPropertyOutput) ToGetDirectoryWorkspaceAccessPropertyOutput() GetDirectoryWorkspaceAccessPropertyOutput

func (GetDirectoryWorkspaceAccessPropertyOutput) ToGetDirectoryWorkspaceAccessPropertyOutputWithContext

func (o GetDirectoryWorkspaceAccessPropertyOutput) ToGetDirectoryWorkspaceAccessPropertyOutputWithContext(ctx context.Context) GetDirectoryWorkspaceAccessPropertyOutput

type GetDirectoryWorkspaceCreationProperties

type GetDirectoryWorkspaceCreationProperties 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 GetDirectoryWorkspaceCreationPropertiesArgs

type GetDirectoryWorkspaceCreationPropertiesArgs 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 (GetDirectoryWorkspaceCreationPropertiesArgs) ElementType

func (GetDirectoryWorkspaceCreationPropertiesArgs) ToGetDirectoryWorkspaceCreationPropertiesOutput

func (i GetDirectoryWorkspaceCreationPropertiesArgs) ToGetDirectoryWorkspaceCreationPropertiesOutput() GetDirectoryWorkspaceCreationPropertiesOutput

func (GetDirectoryWorkspaceCreationPropertiesArgs) ToGetDirectoryWorkspaceCreationPropertiesOutputWithContext

func (i GetDirectoryWorkspaceCreationPropertiesArgs) ToGetDirectoryWorkspaceCreationPropertiesOutputWithContext(ctx context.Context) GetDirectoryWorkspaceCreationPropertiesOutput

type GetDirectoryWorkspaceCreationPropertiesInput

type GetDirectoryWorkspaceCreationPropertiesInput interface {
	pulumi.Input

	ToGetDirectoryWorkspaceCreationPropertiesOutput() GetDirectoryWorkspaceCreationPropertiesOutput
	ToGetDirectoryWorkspaceCreationPropertiesOutputWithContext(context.Context) GetDirectoryWorkspaceCreationPropertiesOutput
}

GetDirectoryWorkspaceCreationPropertiesInput is an input type that accepts GetDirectoryWorkspaceCreationPropertiesArgs and GetDirectoryWorkspaceCreationPropertiesOutput values. You can construct a concrete instance of `GetDirectoryWorkspaceCreationPropertiesInput` via:

GetDirectoryWorkspaceCreationPropertiesArgs{...}

type GetDirectoryWorkspaceCreationPropertiesOutput

type GetDirectoryWorkspaceCreationPropertiesOutput struct{ *pulumi.OutputState }

func (GetDirectoryWorkspaceCreationPropertiesOutput) CustomSecurityGroupId

The identifier of your custom security group. Should relate to the same VPC, where workspaces reside in.

func (GetDirectoryWorkspaceCreationPropertiesOutput) DefaultOu

The default organizational unit (OU) for your WorkSpace directories.

func (GetDirectoryWorkspaceCreationPropertiesOutput) ElementType

func (GetDirectoryWorkspaceCreationPropertiesOutput) EnableInternetAccess

Indicates whether internet access is enabled for your WorkSpaces.

func (GetDirectoryWorkspaceCreationPropertiesOutput) EnableMaintenanceMode

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 (GetDirectoryWorkspaceCreationPropertiesOutput) ToGetDirectoryWorkspaceCreationPropertiesOutput

func (o GetDirectoryWorkspaceCreationPropertiesOutput) ToGetDirectoryWorkspaceCreationPropertiesOutput() GetDirectoryWorkspaceCreationPropertiesOutput

func (GetDirectoryWorkspaceCreationPropertiesOutput) ToGetDirectoryWorkspaceCreationPropertiesOutputWithContext

func (o GetDirectoryWorkspaceCreationPropertiesOutput) ToGetDirectoryWorkspaceCreationPropertiesOutputWithContext(ctx context.Context) GetDirectoryWorkspaceCreationPropertiesOutput

func (GetDirectoryWorkspaceCreationPropertiesOutput) UserEnabledAsLocalAdministrator

func (o GetDirectoryWorkspaceCreationPropertiesOutput) UserEnabledAsLocalAdministrator() pulumi.BoolOutput

Indicates whether users are local administrators of their WorkSpaces.

type GetImageArgs

type GetImageArgs struct {
	// The ID of the image.
	ImageId string `pulumi:"imageId"`
}

A collection of arguments for invoking getImage.

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/v4/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 GetWorkspaceWorkspaceProperty

type GetWorkspaceWorkspaceProperty 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 GetWorkspaceWorkspacePropertyArgs

type GetWorkspaceWorkspacePropertyArgs 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.StringInput `pulumi:"computeTypeName"`
	// The size of the root volume.
	RootVolumeSizeGib pulumi.IntInput `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.StringInput `pulumi:"runningMode"`
	// The time after a user logs off when WorkSpaces are automatically stopped. Configured in 60-minute intervals.
	RunningModeAutoStopTimeoutInMinutes pulumi.IntInput `pulumi:"runningModeAutoStopTimeoutInMinutes"`
	// The size of the user storage.
	UserVolumeSizeGib pulumi.IntInput `pulumi:"userVolumeSizeGib"`
}

func (GetWorkspaceWorkspacePropertyArgs) ElementType

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) 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) Index

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

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 (GetWorkspaceWorkspacePropertyOutput) ElementType

func (GetWorkspaceWorkspacePropertyOutput) RootVolumeSizeGib

The size of the root volume.

func (GetWorkspaceWorkspacePropertyOutput) RunningMode

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 (GetWorkspaceWorkspacePropertyOutput) RunningModeAutoStopTimeoutInMinutes

func (o GetWorkspaceWorkspacePropertyOutput) RunningModeAutoStopTimeoutInMinutes() pulumi.IntOutput

The 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

The size of the user storage.

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/v4/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{
			Description: pulumi.String("Contractors IP access control group"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

WorkSpaces IP groups can be imported using their GroupID, e.g.

```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) ElementType() reflect.Type

func (*IpGroup) ToIpGroupOutput

func (i *IpGroup) ToIpGroupOutput() IpGroupOutput

func (*IpGroup) ToIpGroupOutputWithContext

func (i *IpGroup) ToIpGroupOutputWithContext(ctx context.Context) IpGroupOutput

func (*IpGroup) ToIpGroupPtrOutput

func (i *IpGroup) ToIpGroupPtrOutput() IpGroupPtrOutput

func (*IpGroup) ToIpGroupPtrOutputWithContext

func (i *IpGroup) ToIpGroupPtrOutputWithContext(ctx context.Context) IpGroupPtrOutput

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 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 (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 (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) ElementType

func (IpGroupOutput) ElementType() reflect.Type

func (IpGroupOutput) ToIpGroupOutput

func (o IpGroupOutput) ToIpGroupOutput() IpGroupOutput

func (IpGroupOutput) ToIpGroupOutputWithContext

func (o IpGroupOutput) ToIpGroupOutputWithContext(ctx context.Context) IpGroupOutput

func (IpGroupOutput) ToIpGroupPtrOutput

func (o IpGroupOutput) ToIpGroupPtrOutput() IpGroupPtrOutput

func (IpGroupOutput) ToIpGroupPtrOutputWithContext

func (o IpGroupOutput) ToIpGroupPtrOutputWithContext(ctx context.Context) IpGroupPtrOutput

type IpGroupPtrInput

type IpGroupPtrInput interface {
	pulumi.Input

	ToIpGroupPtrOutput() IpGroupPtrOutput
	ToIpGroupPtrOutputWithContext(ctx context.Context) IpGroupPtrOutput
}

type IpGroupPtrOutput

type IpGroupPtrOutput struct {
	*pulumi.OutputState
}

func (IpGroupPtrOutput) ElementType

func (IpGroupPtrOutput) ElementType() reflect.Type

func (IpGroupPtrOutput) ToIpGroupPtrOutput

func (o IpGroupPtrOutput) ToIpGroupPtrOutput() IpGroupPtrOutput

func (IpGroupPtrOutput) ToIpGroupPtrOutputWithContext

func (o IpGroupPtrOutput) ToIpGroupPtrOutputWithContext(ctx context.Context) IpGroupPtrOutput

type IpGroupRule

type IpGroupRule struct {
	// The description.
	Description *string `pulumi:"description"`
	// The IP address range, in CIDR notation, e.g. `10.0.0.0/16`
	Source string `pulumi:"source"`
}

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 (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

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 LookupDirectoryArgs

type LookupDirectoryArgs struct {
	// The 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 LookupDirectoryResult

type LookupDirectoryResult struct {
	// The directory alias.
	Alias string `pulumi:"alias"`
	// The user name for the service account.
	CustomerUserName string `pulumi:"customerUserName"`
	DirectoryId      string `pulumi:"directoryId"`
	// The name of the directory.
	DirectoryName string `pulumi:"directoryName"`
	// The directory type.
	DirectoryType string `pulumi:"directoryType"`
	// The IP addresses of the DNS servers for the directory.
	DnsIpAddresses []string `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 string `pulumi:"iamRoleId"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The identifiers of the IP access control groups associated with the directory.
	IpGroupIds []string `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 string `pulumi:"registrationCode"`
	// The permissions to enable or disable self-service capabilities.
	SelfServicePermissions []GetDirectorySelfServicePermission `pulumi:"selfServicePermissions"`
	// The 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 GetDirectoryWorkspaceCreationProperties `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/v4/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 LookupWorkspaceArgs

type LookupWorkspaceArgs struct {
	// The 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"`
	// The tags for the WorkSpace.
	Tags map[string]string `pulumi:"tags"`
	// The 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"`
	// The ID of the WorkSpace. You cannot combine this parameter with `directoryId`.
	WorkspaceId *string `pulumi:"workspaceId"`
}

A collection of arguments for invoking getWorkspace.

type LookupWorkspaceResult

type LookupWorkspaceResult struct {
	BundleId string `pulumi:"bundleId"`
	// The 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"`
	// The IP address of the WorkSpace.
	IpAddress                   string `pulumi:"ipAddress"`
	RootVolumeEncryptionEnabled bool   `pulumi:"rootVolumeEncryptionEnabled"`
	// The 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/v4/go/aws/workspaces"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		opt0 := "ws-cj5xcxsz5"
		_, err := workspaces.LookupWorkspace(ctx, &workspaces.LookupWorkspaceArgs{
			WorkspaceId: &opt0,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Filter By Directory ID & User Name

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/workspaces"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		opt0 := "d-9967252f57"
		opt1 := "Example"
		_, err := workspaces.LookupWorkspace(ctx, &workspaces.LookupWorkspaceArgs{
			DirectoryId: &opt0,
			UserName:    &opt1,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

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.
	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:** 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/v4/go/aws/workspaces"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		opt0 := "wsb-bh8rsxt14"
		valueWindows10, err := workspaces.GetBundle(ctx, &workspaces.GetBundleArgs{
			BundleId: &opt0,
		}, nil)
		if err != nil {
			return err
		}
		_, err = workspaces.NewWorkspace(ctx, "example", &workspaces.WorkspaceArgs{
			DirectoryId:                 pulumi.Any(aws_workspaces_directory.Example.Id),
			BundleId:                    pulumi.String(valueWindows10.Id),
			UserName:                    pulumi.String("john.doe"),
			RootVolumeEncryptionEnabled: pulumi.Bool(true),
			UserVolumeEncryptionEnabled: pulumi.Bool(true),
			VolumeEncryptionKey:         pulumi.String("alias/aws/workspaces"),
			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

Workspaces can be imported using their ID, e.g.

```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) ElementType() reflect.Type

func (*Workspace) ToWorkspaceOutput

func (i *Workspace) ToWorkspaceOutput() WorkspaceOutput

func (*Workspace) ToWorkspaceOutputWithContext

func (i *Workspace) ToWorkspaceOutputWithContext(ctx context.Context) WorkspaceOutput

func (*Workspace) ToWorkspacePtrOutput

func (i *Workspace) ToWorkspacePtrOutput() WorkspacePtrOutput

func (*Workspace) ToWorkspacePtrOutputWithContext

func (i *Workspace) ToWorkspacePtrOutputWithContext(ctx context.Context) WorkspacePtrOutput

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.
	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

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 (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 (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) ElementType

func (WorkspaceOutput) ElementType() reflect.Type

func (WorkspaceOutput) ToWorkspaceOutput

func (o WorkspaceOutput) ToWorkspaceOutput() WorkspaceOutput

func (WorkspaceOutput) ToWorkspaceOutputWithContext

func (o WorkspaceOutput) ToWorkspaceOutputWithContext(ctx context.Context) WorkspaceOutput

func (WorkspaceOutput) ToWorkspacePtrOutput

func (o WorkspaceOutput) ToWorkspacePtrOutput() WorkspacePtrOutput

func (WorkspaceOutput) ToWorkspacePtrOutputWithContext

func (o WorkspaceOutput) ToWorkspacePtrOutputWithContext(ctx context.Context) WorkspacePtrOutput

type WorkspacePtrInput

type WorkspacePtrInput interface {
	pulumi.Input

	ToWorkspacePtrOutput() WorkspacePtrOutput
	ToWorkspacePtrOutputWithContext(ctx context.Context) WorkspacePtrOutput
}

type WorkspacePtrOutput

type WorkspacePtrOutput struct {
	*pulumi.OutputState
}

func (WorkspacePtrOutput) ElementType

func (WorkspacePtrOutput) ElementType() reflect.Type

func (WorkspacePtrOutput) ToWorkspacePtrOutput

func (o WorkspacePtrOutput) ToWorkspacePtrOutput() WorkspacePtrOutput

func (WorkspacePtrOutput) ToWorkspacePtrOutputWithContext

func (o WorkspacePtrOutput) ToWorkspacePtrOutputWithContext(ctx context.Context) WorkspacePtrOutput

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.
	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

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` 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

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

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

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

func (WorkspaceWorkspacePropertiesOutput) RootVolumeSizeGib

The size of the root volume.

func (WorkspaceWorkspacePropertiesOutput) RunningMode

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

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

type WorkspaceWorkspacePropertiesPtrOutput

type WorkspaceWorkspacePropertiesPtrOutput struct{ *pulumi.OutputState }

func (WorkspaceWorkspacePropertiesPtrOutput) ComputeTypeName

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) Elem

func (WorkspaceWorkspacePropertiesPtrOutput) ElementType

func (WorkspaceWorkspacePropertiesPtrOutput) RootVolumeSizeGib

The size of the root volume.

func (WorkspaceWorkspacePropertiesPtrOutput) RunningMode

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

The size of the user storage.

Jump to

Keyboard shortcuts

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