AmazonCopyEbsSnapshotsParameters Object
Last updated
Parameters for the Amazon Copy EBS Snapshots action.
Registered credentials to use with the action. One and only one credential must be specified.
Type: Array of string
Required: Yes
Description to set on the target EBS snapshots.
Type: string
Required: Yes
Indicates whether the target region should be checked for existing EBS snapshots which were previously copied from the source EBS snapshots.
Type: boolean
Required: No
Default: false
Indicates whether tags from the source EBS snapshot should be copied to the target EBS snapshot.
Type: boolean
Required: No
Default: false
Indicates the maximum age an EBS snapshot can be in order to be copied. If not specified, no age requirement is applied.
Type: integer
Required: No
Regions to use with the action. One and only one region must be specified.
Type: Array of string
Required: Yes
Comparison to use when identifying snapshots by resource tag. Required when snapshotIdentificationMethod is by-resource-tag.
Type: ResourceTagComparison object.
Required: Conditional
Method in which EBS snapshots will be selected.
Type: string
Valid Values:
all-snapshots
by-snapshot-id
by-volume-id
by-resource-tag
Required: Yes
Indicates the ID of the EBS snapshot to copy. Required when snapshotIdentificationMethod is by-snapshot-id.
Type: string
Required: Conditional
Resource tags to apply to the new EBS snapshots.
Type: Array of Tag objects
Required: No
Indicates the ID of the target AWS credentials to which the snapshots will be copied.
Type: string
Required: No
Indicates the region into which the EBS snapshots will be copied.
Type: string
Required: Yes
Indicates the ID of the EBS volume from which snapshots are to be copied. Required when snapshotIdentificationMethod is by-volume-id.
Type: string
Required: Conditional
Last updated
{
"credentialIds": [
"cred-00000001"
],
"regionNames": [
"us-east-1"
],
"snapshotIdentificationMethod": "by-volume-id",
"volumeId": "vol-00000001",
"newerThanInDays": 3,
"targetRegionName": "us-east-2",
"isPreventDuplicates": true,
"description": "$(DESCRIPTION)",
"isCopyTags": true
}