Skip to content

Copies the image within the same region or to a new region within the same AWS account

Description

Copies the image within the same region or to a new region within the same AWS account. Note that any tags you added to the image will not be copied.

Usage

appstream_copy_image(SourceImageName, DestinationImageName,
  DestinationRegion, DestinationImageDescription)

Arguments

  • SourceImageName

    [required] The name of the image to copy.

  • DestinationImageName

    [required] The name that the image will have when it is copied to the destination.

  • DestinationRegion

    [required] The destination region to which the image will be copied. This parameter is required, even if you are copying an image within the same region.

  • DestinationImageDescription

    The description that the image will have when it is copied to the destination.

Value

A list with the following syntax:

list(
  DestinationImageName = "string"
)

Request syntax

svc$copy_image(
  SourceImageName = "string",
  DestinationImageName = "string",
  DestinationRegion = "string",
  DestinationImageDescription = "string"
)