Skip to content

Creates the specified WorkSpace bundle

Description

Creates the specified WorkSpace bundle. For more information about creating WorkSpace bundles, see Create a Custom WorkSpaces Image and Bundle.

Usage

workspaces_create_workspace_bundle(BundleName, BundleDescription,
  ImageId, ComputeType, UserStorage, RootStorage, Tags)

Arguments

  • BundleName

    [required] The name of the bundle.

  • BundleDescription

    [required] The description of the bundle.

  • ImageId

    [required] The identifier of the image that is used to create the bundle.

  • ComputeType

    [required] Describes the compute type of the bundle.

  • UserStorage

    [required] Describes the user volume for a WorkSpace bundle.

  • RootStorage

    Describes the root volume for a WorkSpace bundle.

  • Tags

    The tags associated with the bundle.

    To add tags at the same time when you're creating the bundle, you must create an IAM policy that grants your IAM user permissions to use workspaces:CreateTags.

Value

A list with the following syntax:

list(
  WorkspaceBundle = list(
    BundleId = "string",
    Name = "string",
    Owner = "string",
    Description = "string",
    ImageId = "string",
    RootStorage = list(
      Capacity = "string"
    ),
    UserStorage = list(
      Capacity = "string"
    ),
    ComputeType = list(
      Name = "VALUE"|"STANDARD"|"PERFORMANCE"|"POWER"|"GRAPHICS"|"POWERPRO"|"GENERALPURPOSE_4XLARGE"|"GENERALPURPOSE_8XLARGE"|"GRAPHICSPRO"|"GRAPHICS_G4DN"|"GRAPHICSPRO_G4DN"|"GRAPHICS_G6_XLARGE"|"GRAPHICS_G6_2XLARGE"|"GRAPHICS_G6_4XLARGE"|"GRAPHICS_G6_8XLARGE"|"GRAPHICS_G6_16XLARGE"|"GRAPHICS_GR6_4XLARGE"|"GRAPHICS_GR6_8XLARGE"|"GRAPHICS_G6F_LARGE"|"GRAPHICS_G6F_XLARGE"|"GRAPHICS_G6F_2XLARGE"|"GRAPHICS_G6F_4XLARGE"|"GRAPHICS_GR6F_4XLARGE"|"GRAPHICS_G7_2XLARGE"|"GRAPHICS_G7_4XLARGE"|"GRAPHICS_G7_8XLARGE"|"GRAPHICS_G7_12XLARGE"
    ),
    LastUpdatedTime = as.POSIXct(
      "2015-01-01"
    ),
    CreationTime = as.POSIXct(
      "2015-01-01"
    ),
    State = "AVAILABLE"|"PENDING"|"ERROR",
    BundleType = "REGULAR"|"STANDBY"
  )
)

Request syntax

svc$create_workspace_bundle(
  BundleName = "string",
  BundleDescription = "string",
  ImageId = "string",
  ComputeType = list(
    Name = "VALUE"|"STANDARD"|"PERFORMANCE"|"POWER"|"GRAPHICS"|"POWERPRO"|"GENERALPURPOSE_4XLARGE"|"GENERALPURPOSE_8XLARGE"|"GRAPHICSPRO"|"GRAPHICS_G4DN"|"GRAPHICSPRO_G4DN"|"GRAPHICS_G6_XLARGE"|"GRAPHICS_G6_2XLARGE"|"GRAPHICS_G6_4XLARGE"|"GRAPHICS_G6_8XLARGE"|"GRAPHICS_G6_16XLARGE"|"GRAPHICS_GR6_4XLARGE"|"GRAPHICS_GR6_8XLARGE"|"GRAPHICS_G6F_LARGE"|"GRAPHICS_G6F_XLARGE"|"GRAPHICS_G6F_2XLARGE"|"GRAPHICS_G6F_4XLARGE"|"GRAPHICS_GR6F_4XLARGE"|"GRAPHICS_G7_2XLARGE"|"GRAPHICS_G7_4XLARGE"|"GRAPHICS_G7_8XLARGE"|"GRAPHICS_G7_12XLARGE"
  ),
  UserStorage = list(
    Capacity = "string"
  ),
  RootStorage = list(
    Capacity = "string"
  ),
  Tags = list(
    list(
      Key = "string",
      Value = "string"
    )
  )
)