[ aws . workspaces ]
create-workspaces-pool
--pool-name <value>
--description <value>
--bundle-id <value>
--directory-id <value>
--capacity <value>
[--tags <value>]
[--application-settings <value>]
[--timeout-settings <value>]
[--running-mode <value>]
[--cli-input-json | --cli-input-yaml]
[--generate-cli-skeleton <value>]
[--debug]
[--endpoint-url <value>]
[--no-verify-ssl]
[--no-paginate]
[--output <value>]
[--query <value>]
[--profile <value>]
[--region <value>]
[--version <value>]
[--color <value>]
[--no-sign-request]
[--ca-bundle <value>]
[--cli-read-timeout <value>]
[--cli-connect-timeout <value>]
[--cli-binary-format <value>]
[--no-cli-pager]
[--cli-auto-prompt]
[--no-cli-auto-prompt]
--pool-name
(string) [required]
The name of the pool.
Constraints:
- pattern:
^[A-Za-z0-9][A-Za-z0-9_.-]{0,63}$
--description
(string) [required]
The pool description.
Constraints:
- min:
1
- max:
255
- pattern:
^[a-zA-Z0-9_./() -]+$
--bundle-id
(string) [required]
The identifier of the bundle for the pool.
Constraints:
- pattern:
^wsb-[0-9a-z]{8,63}$
--directory-id
(string) [required]
The identifier of the directory for the pool.
Constraints:
- min:
10
- max:
65
- pattern:
^(d-[0-9a-f]{8,63}$)|(wsd-[0-9a-z]{8,63}$)
--capacity
(structure) [required]
The user capacity of the pool.
DesiredUserSessions -> (integer) [required]
The desired number of user sessions for the WorkSpaces in the pool.
Constraints:
- min:
0
Shorthand Syntax:
DesiredUserSessions=integer
JSON Syntax:
{
"DesiredUserSessions": integer
}
--tags
(list)
The tags for the pool.
(structure)
Describes a tag.
Key -> (string) [required]
The key of the tag.
Constraints:
- min:
1
- max:
127
Value -> (string)
The value of the tag.
Constraints:
- max:
255
Shorthand Syntax:
Key=string,Value=string ...
JSON Syntax:
[
{
"Key": "string",
"Value": "string"
}
...
]
--application-settings
(structure)
Indicates the application settings of the pool.
Status -> (string) [required]
Enables or disables persistent application settings for users during their pool sessions.
Possible values:
DISABLED
ENABLED
SettingsGroup -> (string)
The path prefix for the S3 bucket where users’ persistent application settings are stored. You can allow the same persistent application settings to be used across multiple pools by specifying the same settings group for each pool.
Constraints:
- max:
100
- pattern:
^[A-Za-z0-9_./()!*'-]+$
Shorthand Syntax:
Status=string,SettingsGroup=string
JSON Syntax:
{
"Status": "DISABLED"|"ENABLED",
"SettingsGroup": "string"
}
--timeout-settings
(structure)
Indicates the timeout settings of the pool.
DisconnectTimeoutInSeconds -> (integer)
Specifies the amount of time, in seconds, that a streaming session remains active after users disconnect. If users try to reconnect to the streaming session after a disconnection or network interruption within the time set, they are connected to their previous session. Otherwise, they are connected to a new session with a new streaming instance.
Constraints:
- min:
60
- max:
36000
IdleDisconnectTimeoutInSeconds -> (integer)
The amount of time in seconds a connection will stay active while idle.
Constraints:
- min:
0
- max:
36000
MaxUserDurationInSeconds -> (integer)
Specifies the maximum amount of time, in seconds, that a streaming session can remain active. If users are still connected to a streaming instance five minutes before this limit is reached, they are prompted to save any open documents before being disconnected. After this time elapses, the instance is terminated and replaced by a new instance.
Constraints:
- min:
600
- max:
432000
Shorthand Syntax:
DisconnectTimeoutInSeconds=integer,IdleDisconnectTimeoutInSeconds=integer,MaxUserDurationInSeconds=integer
JSON Syntax:
{
"DisconnectTimeoutInSeconds": integer,
"IdleDisconnectTimeoutInSeconds": integer,
"MaxUserDurationInSeconds": integer
}
--running-mode
(string)
The running mode for the pool.
Possible values:
AUTO_STOP
ALWAYS_ON
--cli-input-json
| --cli-input-yaml
(string)
Reads arguments from the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton
. If other arguments are provided on the command line, those values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally. This may not be specified along with --cli-input-yaml
.
--generate-cli-skeleton
(string)
Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input
, prints a sample input JSON that can be used as an argument for --cli-input-json
. Similarly, if provided yaml-input
it will print a sample input YAML that can be used with --cli-input-yaml
. If provided with the value output
, it validates the command inputs and returns a sample output JSON for that command. The generated JSON skeleton is not stable between versions of the AWS CLI and there are no backwards compatibility guarantees in the JSON skeleton generated.
--debug
(boolean)
Turn on debug logging.
--endpoint-url
(string)
Override command’s default URL with the given URL.
--no-verify-ssl
(boolean)
By default, the AWS CLI uses SSL when communicating with AWS services. For each SSL connection, the AWS CLI will verify SSL certificates. This option overrides the default behavior of verifying SSL certificates.
--no-paginate
(boolean)
Disable automatic pagination. If automatic pagination is disabled, the AWS CLI will only make one call, for the first page of results.
--output
(string)
The formatting style for command output.
--query
(string)
A JMESPath query to use in filtering the response data.
--profile
(string)
Use a specific profile from your credential file.
--region
(string)
The region to use. Overrides config/env settings.
--version
(string)
Display the version of this tool.
--color
(string)
Turn on/off color output.
--no-sign-request
(boolean)
Do not sign requests. Credentials will not be loaded if this argument is provided.
--ca-bundle
(string)
The CA certificate bundle to use when verifying SSL certificates. Overrides config/env settings.
--cli-read-timeout
(int)
The maximum socket read time in seconds. If the value is set to 0, the socket read will be blocking and not timeout. The default value is 60 seconds.
--cli-connect-timeout
(int)
The maximum socket connect time in seconds. If the value is set to 0, the socket connect will be blocking and not timeout. The default value is 60 seconds.
--cli-binary-format
(string)
The formatting style to be used for binary blobs. The default format is base64. The base64 format expects binary blobs to be provided as a base64 encoded string. The raw-in-base64-out format preserves compatibility with AWS CLI V1 behavior and binary values must be passed literally. When providing contents from a file that map to a binary blob fileb://
will always be treated as binary and use the file contents directly regardless of the cli-binary-format
setting. When using file://
the file contents will need to properly formatted for the configured cli-binary-format
.
--no-cli-pager
(boolean)
Disable cli pager for output.
--cli-auto-prompt
(boolean)
Automatically prompt for CLI input parameters.
--no-cli-auto-prompt
(boolean)
Disable automatically prompt for CLI input parameters.
WorkspacesPool -> (structure)
Indicates the pool to create.
PoolId -> (string) [required]
The identifier of a pool.
Constraints:
- pattern:
^wspool-[0-9a-z]{9}$
PoolArn -> (string) [required]
The Amazon Resource Name (ARN) for the pool.
Constraints:
- pattern:
^arn:aws[a-z-]{0,7}:[A-Za-z0-9][A-za-z0-9_/.-]{0,62}:[A-za-z0-9_/.-]{0,63}:[A-za-z0-9_/.-]{0,63}:[A-Za-z0-9][A-Za-z0-9:_/+=,@.\\-]{0,1023}$
CapacityStatus -> (structure) [required]
The capacity status for the pool
AvailableUserSessions -> (integer) [required]
The number of user sessions currently available for streaming from your pool.
AvailableUserSessions = ActualUserSessions - ActiveUserSessions
Constraints:
- min:
0
DesiredUserSessions -> (integer) [required]
The total number of sessions slots that are either running or pending. This represents the total number of concurrent streaming sessions your pool can support in a steady state.
Constraints:
- min:
0
ActualUserSessions -> (integer) [required]
The total number of user sessions that are available for streaming or are currently streaming in your pool.
ActualUserSessions = AvailableUserSessions + ActiveUserSessions
Constraints:
- min:
0
ActiveUserSessions -> (integer) [required]
The number of user sessions currently being used for your pool.
Constraints:
- min:
0
PoolName -> (string) [required]
The name of the pool.
Constraints:
- pattern:
^[A-Za-z0-9][A-Za-z0-9_.-]{0,63}$
Description -> (string)
The description of the pool.
Constraints:
- min:
1
- max:
255
- pattern:
^[a-zA-Z0-9_./() -]+$
State -> (string) [required]
The current state of the pool.
Possible values:
CREATING
DELETING
RUNNING
STARTING
STOPPED
STOPPING
UPDATING
CreatedAt -> (timestamp) [required]
The time the pool was created.BundleId -> (string) [required]
The identifier of the bundle used by the pool.
Constraints:
- pattern:
^wsb-[0-9a-z]{8,63}$
DirectoryId -> (string) [required]
The identifier of the directory used by the pool.
Constraints:
- min:
10
- max:
65
- pattern:
^(d-[0-9a-f]{8,63}$)|(wsd-[0-9a-z]{8,63}$)
Errors -> (list)
The pool errors.
(structure)
Describes a pool error.
ErrorCode -> (string)
The error code.
Possible values:
IAM_SERVICE_ROLE_IS_MISSING
IAM_SERVICE_ROLE_MISSING_ENI_DESCRIBE_ACTION
IAM_SERVICE_ROLE_MISSING_ENI_CREATE_ACTION
IAM_SERVICE_ROLE_MISSING_ENI_DELETE_ACTION
NETWORK_INTERFACE_LIMIT_EXCEEDED
INTERNAL_SERVICE_ERROR
MACHINE_ROLE_IS_MISSING
STS_DISABLED_IN_REGION
SUBNET_HAS_INSUFFICIENT_IP_ADDRESSES
IAM_SERVICE_ROLE_MISSING_DESCRIBE_SUBNET_ACTION
SUBNET_NOT_FOUND
IMAGE_NOT_FOUND
INVALID_SUBNET_CONFIGURATION
SECURITY_GROUPS_NOT_FOUND
IGW_NOT_ATTACHED
IAM_SERVICE_ROLE_MISSING_DESCRIBE_SECURITY_GROUPS_ACTION
WORKSPACES_POOL_STOPPED
WORKSPACES_POOL_INSTANCE_PROVISIONING_FAILURE
DOMAIN_JOIN_ERROR_FILE_NOT_FOUND
DOMAIN_JOIN_ERROR_ACCESS_DENIED
DOMAIN_JOIN_ERROR_LOGON_FAILURE
DOMAIN_JOIN_ERROR_INVALID_PARAMETER
DOMAIN_JOIN_ERROR_MORE_DATA
DOMAIN_JOIN_ERROR_NO_SUCH_DOMAIN
DOMAIN_JOIN_ERROR_NOT_SUPPORTED
DOMAIN_JOIN_NERR_INVALID_WORKGROUP_NAME
DOMAIN_JOIN_NERR_WORKSTATION_NOT_STARTED
DOMAIN_JOIN_ERROR_DS_MACHINE_ACCOUNT_QUOTA_EXCEEDED
DOMAIN_JOIN_NERR_PASSWORD_EXPIRED
DOMAIN_JOIN_INTERNAL_SERVICE_ERROR
DOMAIN_JOIN_ERROR_SECRET_ACTION_PERMISSION_IS_MISSING
DOMAIN_JOIN_ERROR_SECRET_DECRYPTION_FAILURE
DOMAIN_JOIN_ERROR_SECRET_STATE_INVALID
DOMAIN_JOIN_ERROR_SECRET_NOT_FOUND
DOMAIN_JOIN_ERROR_SECRET_VALUE_KEY_NOT_FOUND
DOMAIN_JOIN_ERROR_SECRET_INVALID
BUNDLE_NOT_FOUND
DIRECTORY_NOT_FOUND
INSUFFICIENT_PERMISSIONS_ERROR
DEFAULT_OU_IS_MISSING
ErrorMessage -> (string)
The error message.ApplicationSettings -> (structure)
The persistent application settings for users of the pool.
Status -> (string) [required]
Specifies whether persistent application settings are enabled for users during their pool sessions.
Possible values:
DISABLED
ENABLED
SettingsGroup -> (string)
The path prefix for the S3 bucket where users’ persistent application settings are stored.
Constraints:
- max:
100
- pattern:
^[A-Za-z0-9_./()!*'-]+$
S3BucketName -> (string)
The S3 bucket where users’ persistent application settings are stored. When persistent application settings are enabled for the first time for an account in an Amazon Web Services Region, an S3 bucket is created. The bucket is unique to the Amazon Web Services account and the Region.
Constraints:
- min:
3
- max:
63
- pattern:
^[a-z0-9][\.\-a-z0-9]{1,61}[a-z0-9]$
TimeoutSettings -> (structure)
The amount of time that a pool session remains active after users disconnect. If they try to reconnect to the pool session after a disconnection or network interruption within this time interval, they are connected to their previous session. Otherwise, they are connected to a new session with a new pool instance.
DisconnectTimeoutInSeconds -> (integer)
Specifies the amount of time, in seconds, that a streaming session remains active after users disconnect. If users try to reconnect to the streaming session after a disconnection or network interruption within the time set, they are connected to their previous session. Otherwise, they are connected to a new session with a new streaming instance.
Constraints:
- min:
60
- max:
36000
IdleDisconnectTimeoutInSeconds -> (integer)
The amount of time in seconds a connection will stay active while idle.
Constraints:
- min:
0
- max:
36000
MaxUserDurationInSeconds -> (integer)
Specifies the maximum amount of time, in seconds, that a streaming session can remain active. If users are still connected to a streaming instance five minutes before this limit is reached, they are prompted to save any open documents before being disconnected. After this time elapses, the instance is terminated and replaced by a new instance.
Constraints:
- min:
600
- max:
432000
RunningMode -> (string) [required]
The running mode of the pool.
Possible values:
AUTO_STOP
ALWAYS_ON