Skip to content

Create Workspace Bundle

workspaces_create_workspace_bundle R Documentation

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]

UserStorage

[required]

RootStorage
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"|"GRAPHICSPRO"|"GRAPHICS_G4DN"|"GRAPHICSPRO_G4DN"
    ),
    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"|"GRAPHICSPRO"|"GRAPHICS_G4DN"|"GRAPHICSPRO_G4DN"
  ),
  UserStorage = list(
    Capacity = "string"
  ),
  RootStorage = list(
    Capacity = "string"
  ),
  Tags = list(
    list(
      Key = "string",
      Value = "string"
    )
  )
)