All Products
Search
Document Center

CloudOps Orchestration Service:ACS::ECS::CopyImage

Last Updated:Jul 31, 2024

Description

Copies an image across regions.

Syntax

Action: ACS::ECS::CopyImage
Properties:
 imageId: String
 regionId: String
 targetRegionId: String
 targetImageName: String
 encrypted: Boolean
 KMSKeyId: String

Attributes

Attribute

Description

Type

Required

Default value

Limit

imageId

The image ID.

String

Yes

regionId

The ID of the source region.

String

Yes

Maximum length: 30 characters Minimum length: 1 character

targetRegionId

The ID of the destination region.

String

Yes

Maximum length: 30 characters Minimum length: 1 character

targetImageName

The name of the image to be copied.

String

No

{{ imageId }}-{{ACS::ExecutionId}}

encrypted

Specifies whether to encrypt the image after it is copied.

Boolean

No

False

KMSKeyId

The ID of the key that is used to encrypt the copied image.

String

No

Output

Output item

Description

Type

imageId

String

References

For more information, see ACS::ECS::CopyImage.yml at GitHub.