Skip to content

/AWS1/CL_WSPDEFWORKSPACECREA00

Describes the default values that are used to create WorkSpaces. For more information, see Update Directory Details for Your WorkSpaces.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_enableinternetaccess TYPE /AWS1/WSPBOOLEANOBJECT /AWS1/WSPBOOLEANOBJECT

Specifies whether to automatically assign an Elastic public IP address to WorkSpaces in this directory by default. If enabled, the Elastic public IP address allows outbound internet access from your WorkSpaces when you’re using an internet gateway in the Amazon VPC in which your WorkSpaces are located. If you're using a Network Address Translation (NAT) gateway for outbound internet access from your VPC, or if your WorkSpaces are in public subnets and you manually assign them Elastic IP addresses, you should disable this setting. This setting applies to new WorkSpaces that you launch or to existing WorkSpaces that you rebuild. For more information, see Configure a VPC for Amazon WorkSpaces.

iv_defaultou TYPE /AWS1/WSPDEFAULTOU /AWS1/WSPDEFAULTOU

The organizational unit (OU) in the directory for the WorkSpace machine accounts.

iv_customsecuritygroupid TYPE /AWS1/WSPSECURITYGROUPID /AWS1/WSPSECURITYGROUPID

The identifier of the default security group to apply to WorkSpaces when they are created. For more information, see Security Groups for Your WorkSpaces.

iv_userenbdaslocaladminist00 TYPE /AWS1/WSPBOOLEANOBJECT /AWS1/WSPBOOLEANOBJECT

Specifies whether WorkSpace users are local administrators on their WorkSpaces.

iv_enablemaintenancemode TYPE /AWS1/WSPBOOLEANOBJECT /AWS1/WSPBOOLEANOBJECT

Specifies whether maintenance mode is enabled for WorkSpaces. For more information, see WorkSpace Maintenance.

iv_instanceiamrolearn TYPE /AWS1/WSPARN /AWS1/WSPARN

Indicates the IAM role ARN of the instance.


Queryable Attributes

EnableInternetAccess

Specifies whether to automatically assign an Elastic public IP address to WorkSpaces in this directory by default. If enabled, the Elastic public IP address allows outbound internet access from your WorkSpaces when you’re using an internet gateway in the Amazon VPC in which your WorkSpaces are located. If you're using a Network Address Translation (NAT) gateway for outbound internet access from your VPC, or if your WorkSpaces are in public subnets and you manually assign them Elastic IP addresses, you should disable this setting. This setting applies to new WorkSpaces that you launch or to existing WorkSpaces that you rebuild. For more information, see Configure a VPC for Amazon WorkSpaces.

Accessible with the following methods

Method Description
GET_ENABLEINTERNETACCESS() Getter for ENABLEINTERNETACCESS, with configurable default
ASK_ENABLEINTERNETACCESS() Getter for ENABLEINTERNETACCESS w/ exceptions if field has n
HAS_ENABLEINTERNETACCESS() Determine if ENABLEINTERNETACCESS has a value

DefaultOu

The organizational unit (OU) in the directory for the WorkSpace machine accounts.

Accessible with the following methods

Method Description
GET_DEFAULTOU() Getter for DEFAULTOU, with configurable default
ASK_DEFAULTOU() Getter for DEFAULTOU w/ exceptions if field has no value
HAS_DEFAULTOU() Determine if DEFAULTOU has a value

CustomSecurityGroupId

The identifier of the default security group to apply to WorkSpaces when they are created. For more information, see Security Groups for Your WorkSpaces.

Accessible with the following methods

Method Description
GET_CUSTOMSECURITYGROUPID() Getter for CUSTOMSECURITYGROUPID, with configurable default
ASK_CUSTOMSECURITYGROUPID() Getter for CUSTOMSECURITYGROUPID w/ exceptions if field has
HAS_CUSTOMSECURITYGROUPID() Determine if CUSTOMSECURITYGROUPID has a value

UserEnabledAsLocalAdministrator

Specifies whether WorkSpace users are local administrators on their WorkSpaces.

Accessible with the following methods

Method Description
GET_USERENBDASLOCALADMINIS00() Getter for USERENBDASLOCALADMINISTRATOR, with configurable d
ASK_USERENBDASLOCALADMINIS00() Getter for USERENBDASLOCALADMINISTRATOR w/ exceptions if fie
HAS_USERENBDASLOCALADMINIS00() Determine if USERENBDASLOCALADMINISTRATOR has a value

EnableMaintenanceMode

Specifies whether maintenance mode is enabled for WorkSpaces. For more information, see WorkSpace Maintenance.

Accessible with the following methods

Method Description
GET_ENABLEMAINTENANCEMODE() Getter for ENABLEMAINTENANCEMODE, with configurable default
ASK_ENABLEMAINTENANCEMODE() Getter for ENABLEMAINTENANCEMODE w/ exceptions if field has
HAS_ENABLEMAINTENANCEMODE() Determine if ENABLEMAINTENANCEMODE has a value

InstanceIamRoleArn

Indicates the IAM role ARN of the instance.

Accessible with the following methods

Method Description
GET_INSTANCEIAMROLEARN() Getter for INSTANCEIAMROLEARN, with configurable default
ASK_INSTANCEIAMROLEARN() Getter for INSTANCEIAMROLEARN w/ exceptions if field has no
HAS_INSTANCEIAMROLEARN() Determine if INSTANCEIAMROLEARN has a value