Skip to content

Create Workspace Image

workspaces_create_workspace_image R Documentation

Creates a new WorkSpace image from an existing WorkSpace

Description

Creates a new WorkSpace image from an existing WorkSpace.

Usage

workspaces_create_workspace_image(Name, Description, WorkspaceId, Tags)

Arguments

Name

[required] The name of the new WorkSpace image.

Description

[required] The description of the new WorkSpace image.

WorkspaceId

[required] The identifier of the source WorkSpace

Tags

The tags that you want to add to the new WorkSpace image. To add tags when you're creating the image, you must create an IAM policy that grants your IAM user permission to use workspaces:CreateTags.

Value

A list with the following syntax:

list(
  ImageId = "string",
  Name = "string",
  Description = "string",
  OperatingSystem = list(
    Type = "WINDOWS"|"LINUX"
  ),
  State = "AVAILABLE"|"PENDING"|"ERROR",
  RequiredTenancy = "DEFAULT"|"DEDICATED",
  Created = as.POSIXct(
    "2015-01-01"
  ),
  OwnerAccountId = "string"
)

Request syntax

svc$create_workspace_image(
  Name = "string",
  Description = "string",
  WorkspaceId = "string",
  Tags = list(
    list(
      Key = "string",
      Value = "string"
    )
  )
)