AmazonCopyAmiImagesParameters Object
Description
Parameters for the Amazon Copy AMI Images action.
Properties
conflictResolutionMethod
Method to use when an AMI image already exists with the desired image name.
Type: string
Valid Values:
skip
allow-duplicate
delete-and-recopy
fail-and-stop
fail-and-continue
Required: Yes
credentialIds
Registered credentials to use with the action. One and only one credential must be specified.
Type: Array of string
Required: Yes
description
Description to use on the new AMI images.
Type: string
Required: No
imageIdentificationMethod
Method in which AMI images will be selected.
Type: string
Valid Values:
all-images
by-image-id
by-image-name
by-resource-tag
imageIds
List of AMI image IDs to copy. Required when imageIdentificationMethod
is by-image-id
.
Type: Array of string
Required: Conditional
imageName
Name of the new AMI images.
Type: string
Required: No
imageNameComparison
Comparison to use when selecting images by image name. Required when imageIdentificationMethod
is by-image-name
.
Type: AmiImageNameComparison object
Required: Conditional
isCopyImagePermissions
Indicates whether to copy the permissions from the source image to the new image.
Type: boolean
Required: Yes
isCopySnapshotPermissions
Indicates whether to copy the permissions from the source EBS snapshots to the new EBS snapshots.
Type: boolean
Required: Yes
isCopyTags
Indicates whether to copy the resource tags from the source image to the new image.
Type: boolean
Required: Yes
newerThanInDays
Filters images to be copied to those newer than the specified number of days.
Type: integer
Required: No
regionNames
Regions to use with the action. One and only one region must be specified.
Type: Array of string
Required: Yes
resourceTagComparison
Comparison to use when identifying images by resource tag. Required when imageIdentificationMethod
is by-resource-tag
.
Type: ResourceTagComparison object.
Required: Conditional
tags
Resource tags to add to the new images.
Type: Array of Tag object.
Required: No
targetCredentialId
Credential for the AWS account into which the AMI images will be copied. Omit or assign null
to use the same credential as the original image owner.
Type: string
Required: No
targetRegionName
Target region to which the AMI images will be copied. Must be a valid region name (eg. us-east-1
).
Type: string
Required: Yes
Sample JSON
Last updated