AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

WorkspaceDirectory

import "github.com/aws/aws-sdk-go/service/workspaces"

type WorkspaceDirectory struct { Alias *string `type:"string"` CustomerUserName *string `min:"1" type:"string"` DirectoryId *string `type:"string"` DirectoryName *string `type:"string"` DirectoryType *string `type:"string" enum:"WorkspaceDirectoryType"` DnsIpAddresses []*string `type:"list"` IamRoleId *string `type:"string"` IpGroupIds []*string `locationName:"ipGroupIds" type:"list"` RegistrationCode *string `min:"1" type:"string"` State *string `type:"string" enum:"WorkspaceDirectoryState"` SubnetIds []*string `type:"list"` WorkspaceCreationProperties *DefaultWorkspaceCreationProperties `type:"structure"` WorkspaceSecurityGroupId *string `type:"string"` }

Describes an AWS Directory Service directory that is used with Amazon WorkSpaces.

Alias

Type: *string

The directory alias.

CustomerUserName

Type: *string

The user name for the service account.

DirectoryId

Type: *string

The directory identifier.

DirectoryName

Type: *string

The name of the directory.

DirectoryType

Type: *string

The directory type.

DnsIpAddresses

Type: []*string

The IP addresses of the DNS servers for the directory.

IamRoleId

Type: *string

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.

IpGroupIds

Type: []*string

The identifiers of the IP access control groups associated with the directory.

RegistrationCode

Type: *string

The registration code for the directory. This is the code that users enter in their Amazon WorkSpaces client application to connect to the directory.

State

Type: *string

The state of the directory's registration with Amazon WorkSpaces

SubnetIds

Type: []*string

The identifiers of the subnets used with the directory.

WorkspaceCreationProperties

Describes the default values used to create a WorkSpace.

WorkspaceSecurityGroupId

Type: *string

The identifier of the security group that is assigned to new WorkSpaces.

Method

GoString

func (s WorkspaceDirectory) GoString() string

GoString returns the string representation

SetAlias

func (s *WorkspaceDirectory) SetAlias(v string) *WorkspaceDirectory

SetAlias sets the Alias field's value.

SetCustomerUserName

func (s *WorkspaceDirectory) SetCustomerUserName(v string) *WorkspaceDirectory

SetCustomerUserName sets the CustomerUserName field's value.

SetDirectoryId

func (s *WorkspaceDirectory) SetDirectoryId(v string) *WorkspaceDirectory

SetDirectoryId sets the DirectoryId field's value.

SetDirectoryName

func (s *WorkspaceDirectory) SetDirectoryName(v string) *WorkspaceDirectory

SetDirectoryName sets the DirectoryName field's value.

SetDirectoryType

func (s *WorkspaceDirectory) SetDirectoryType(v string) *WorkspaceDirectory

SetDirectoryType sets the DirectoryType field's value.

SetDnsIpAddresses

func (s *WorkspaceDirectory) SetDnsIpAddresses(v []*string) *WorkspaceDirectory

SetDnsIpAddresses sets the DnsIpAddresses field's value.

SetIamRoleId

func (s *WorkspaceDirectory) SetIamRoleId(v string) *WorkspaceDirectory

SetIamRoleId sets the IamRoleId field's value.

SetIpGroupIds

func (s *WorkspaceDirectory) SetIpGroupIds(v []*string) *WorkspaceDirectory

SetIpGroupIds sets the IpGroupIds field's value.

SetRegistrationCode

func (s *WorkspaceDirectory) SetRegistrationCode(v string) *WorkspaceDirectory

SetRegistrationCode sets the RegistrationCode field's value.

SetState

func (s *WorkspaceDirectory) SetState(v string) *WorkspaceDirectory

SetState sets the State field's value.

SetSubnetIds

func (s *WorkspaceDirectory) SetSubnetIds(v []*string) *WorkspaceDirectory

SetSubnetIds sets the SubnetIds field's value.

SetWorkspaceCreationProperties

func (s *WorkspaceDirectory) SetWorkspaceCreationProperties(v *DefaultWorkspaceCreationProperties) *WorkspaceDirectory

SetWorkspaceCreationProperties sets the WorkspaceCreationProperties field's value.

SetWorkspaceSecurityGroupId

func (s *WorkspaceDirectory) SetWorkspaceSecurityGroupId(v string) *WorkspaceDirectory

SetWorkspaceSecurityGroupId sets the WorkspaceSecurityGroupId field's value.

String

func (s WorkspaceDirectory) String() string

String returns the string representation

On this page: