Class: Aws::WorkSpaces::Types::CreateWorkspacesRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-workspaces/types.rb

Overview

Note:

When making an API call, you may pass CreateWorkspacesRequest data as a hash:

{
  workspaces: [ # required
    {
      directory_id: "DirectoryId", # required
      user_name: "UserName", # required
      bundle_id: "BundleId", # required
      volume_encryption_key: "VolumeEncryptionKey",
      user_volume_encryption_enabled: false,
      root_volume_encryption_enabled: false,
      workspace_properties: {
        running_mode: "AUTO_STOP", # accepts AUTO_STOP, ALWAYS_ON
        running_mode_auto_stop_timeout_in_minutes: 1,
        root_volume_size_gib: 1,
        user_volume_size_gib: 1,
        compute_type_name: "VALUE", # accepts VALUE, STANDARD, PERFORMANCE, POWER, GRAPHICS, POWERPRO, GRAPHICSPRO
      },
      tags: [
        {
          key: "TagKey", # required
          value: "TagValue",
        },
      ],
    },
  ],
}

Instance Attribute Summary collapse

Instance Attribute Details

#workspacesArray<Types::WorkspaceRequest>

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

Returns:



283
284
285
286
# File 'lib/aws-sdk-workspaces/types.rb', line 283

class CreateWorkspacesRequest < Struct.new(
  :workspaces)
  include Aws::Structure
end