CmdID / aws / aws workspaces
aws workspaces modify-workspace-creation-properties
Modify the default properties used to create WorkSpaces. AWS CLI reference
1 example 2 options Its page in the AWS CLI reference
Examples
To modify a WorkSpace creation property of a directory
The following modify-workspace-creation-properties example enables the EnableInternetAccess property for the specified directory. This enables automatic assignment of public IP addresses for the WorkSpaces created for the directory.
aws workspaces modify-workspace-creation-properties --resource-id d-926722edaf --workspace-creation-properties EnableInternetAccess=trueIdentify--resource-idThe identifier of the directory.--workspace-creation-propertiesThe default properties for creating WorkSpaces.This command produces no output.
For more information, see Manage directories for WorkSpaces Personal in the Amazon WorkSpaces Administration Guide.
Options
--resource-idThe identifier of the directory.--workspace-creation-propertiesThe default properties for creating WorkSpaces.