Cookie の設定を選択する

当社は、当社のサイトおよびサービスを提供するために必要な必須 Cookie および類似のツールを使用しています。当社は、パフォーマンス Cookie を使用して匿名の統計情報を収集することで、お客様が当社のサイトをどのように利用しているかを把握し、改善に役立てています。必須 Cookie は無効化できませんが、[カスタマイズ] または [拒否] をクリックしてパフォーマンス Cookie を拒否することはできます。

お客様が同意した場合、AWS および承認された第三者は、Cookie を使用して便利なサイト機能を提供したり、お客様の選択を記憶したり、関連する広告を含む関連コンテンツを表示したりします。すべての必須ではない Cookie を受け入れるか拒否するには、[受け入れる] または [拒否] をクリックしてください。より詳細な選択を行うには、[カスタマイズ] をクリックしてください。

CreateWorkspaces - Amazon WorkSpaces Service
このページはお客様の言語に翻訳されていません。 翻訳のリクエスト

CreateWorkspaces

Creates one or more WorkSpaces.

This operation is asynchronous and returns before the WorkSpaces are created.

Note
  • The MANUAL running mode value is only supported by Amazon WorkSpaces Core. Contact your account team to be allow-listed to use this value. For more information, see Amazon WorkSpaces Core.

  • You don't need to specify the PCOIP protocol for Linux bundles because DCV (formerly WSP) is the default protocol for those bundles.

  • User-decoupled WorkSpaces are only supported by Amazon WorkSpaces Core.

  • Review your running mode to ensure you are using one that is optimal for your needs and budget. For more information on switching running modes, see Can I switch between hourly and monthly billing?

Request Syntax

{ "Workspaces": [ { "BundleId": "string", "DirectoryId": "string", "RootVolumeEncryptionEnabled": boolean, "Tags": [ { "Key": "string", "Value": "string" } ], "UserName": "string", "UserVolumeEncryptionEnabled": boolean, "VolumeEncryptionKey": "string", "WorkspaceName": "string", "WorkspaceProperties": { "ComputeTypeName": "string", "GlobalAccelerator": { "Mode": "string", "PreferredProtocol": "string" }, "OperatingSystemName": "string", "Protocols": [ "string" ], "RootVolumeSizeGib": number, "RunningMode": "string", "RunningModeAutoStopTimeoutInMinutes": number, "UserVolumeSizeGib": number } } ] }

Request Parameters

The request accepts the following data in JSON format.

Workspaces

The WorkSpaces to create. You can specify up to 25 WorkSpaces.

Type: Array of WorkspaceRequest objects

Array Members: Minimum number of 1 item. Maximum number of 25 items.

Required: Yes

Response Syntax

{ "FailedRequests": [ { "ErrorCode": "string", "ErrorMessage": "string", "WorkspaceRequest": { "BundleId": "string", "DirectoryId": "string", "RootVolumeEncryptionEnabled": boolean, "Tags": [ { "Key": "string", "Value": "string" } ], "UserName": "string", "UserVolumeEncryptionEnabled": boolean, "VolumeEncryptionKey": "string", "WorkspaceName": "string", "WorkspaceProperties": { "ComputeTypeName": "string", "GlobalAccelerator": { "Mode": "string", "PreferredProtocol": "string" }, "OperatingSystemName": "string", "Protocols": [ "string" ], "RootVolumeSizeGib": number, "RunningMode": "string", "RunningModeAutoStopTimeoutInMinutes": number, "UserVolumeSizeGib": number } } } ], "PendingRequests": [ { "BundleId": "string", "ComputerName": "string", "DataReplicationSettings": { "DataReplication": "string", "RecoverySnapshotTime": number }, "DirectoryId": "string", "ErrorCode": "string", "ErrorMessage": "string", "IpAddress": "string", "ModificationStates": [ { "Resource": "string", "State": "string" } ], "RelatedWorkspaces": [ { "Region": "string", "State": "string", "Type": "string", "WorkspaceId": "string" } ], "RootVolumeEncryptionEnabled": boolean, "StandbyWorkspacesProperties": [ { "DataReplication": "string", "RecoverySnapshotTime": number, "StandbyWorkspaceId": "string" } ], "State": "string", "SubnetId": "string", "UserName": "string", "UserVolumeEncryptionEnabled": boolean, "VolumeEncryptionKey": "string", "WorkspaceId": "string", "WorkspaceName": "string", "WorkspaceProperties": { "ComputeTypeName": "string", "GlobalAccelerator": { "Mode": "string", "PreferredProtocol": "string" }, "OperatingSystemName": "string", "Protocols": [ "string" ], "RootVolumeSizeGib": number, "RunningMode": "string", "RunningModeAutoStopTimeoutInMinutes": number, "UserVolumeSizeGib": number } } ] }

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

FailedRequests

Information about the WorkSpaces that could not be created.

Type: Array of FailedCreateWorkspaceRequest objects

PendingRequests

Information about the WorkSpaces that were created.

Because this operation is asynchronous, the identifier returned is not immediately available for use with other operations. For example, if you call DescribeWorkspaces before the WorkSpace is created, the information returned can be incomplete.

Type: Array of Workspace objects

Errors

For information about the errors that are common to all actions, see Common Errors.

InvalidParameterValuesException

One or more parameter values are not valid.

HTTP Status Code: 400

ResourceLimitExceededException

Your resource limits have been exceeded.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

プライバシーサイト規約Cookie の設定
© 2025, Amazon Web Services, Inc. or its affiliates.All rights reserved.