Skip to content

Copy Workspace Image

workspaces_copy_workspace_image R Documentation

Copies the specified image from the specified Region to the current Region

Description

Copies the specified image from the specified Region to the current Region. For more information about copying images, see Copy a Custom WorkSpaces Image.

In the China (Ningxia) Region, you can copy images only within the same Region.

In Amazon Web Services GovCloud (US), to copy images to and from other Regions, contact Amazon Web Services Support.

Before copying a shared image, be sure to verify that it has been shared from the correct Amazon Web Services account. To determine if an image has been shared and to see the ID of the Amazon Web Services account that owns an image, use the DescribeWorkSpaceImages and describe_workspace_image_permissions API operations.

Usage

workspaces_copy_workspace_image(Name, Description, SourceImageId,
  SourceRegion, Tags)

Arguments

Name

[required] The name of the image.

Description

A description of the image.

SourceImageId

[required] The identifier of the source image.

SourceRegion

[required] The identifier of the source Region.

Tags

The tags for the image.

Value

A list with the following syntax:

list(
  ImageId = "string"
)

Request syntax

svc$copy_workspace_image(
  Name = "string",
  Description = "string",
  SourceImageId = "string",
  SourceRegion = "string",
  Tags = list(
    list(
      Key = "string",
      Value = "string"
    )
  )
)