AWS::DLM::LifecyclePolicy CrossRegionCopyRule
[Snapshot and AMI policies only] Specifies a cross-Region copy rule for snapshot and AMI policies.
Note
To specify a cross-Region copy action for event-based polices, use CrossRegionCopyAction.
Syntax
To declare this entity in your Amazon CloudFormation template, use the following syntax:
JSON
{ "CmkArn" :String, "CopyTags" :Boolean, "DeprecateRule" :CrossRegionCopyDeprecateRule, "Encrypted" :Boolean, "RetainRule" :CrossRegionCopyRetainRule, "Target" :String, "TargetRegion" :String}
YAML
CmkArn:StringCopyTags:BooleanDeprecateRule:CrossRegionCopyDeprecateRuleEncrypted:BooleanRetainRule:CrossRegionCopyRetainRuleTarget:StringTargetRegion:String
Properties
CmkArn-
The Amazon Resource Name (ARN) of the Amazon KMS key to use for EBS encryption. If this parameter is not specified, the default KMS key for the account is used.
Required: No
Type: String
Minimum:
0Maximum:
2048Pattern:
arn:aws(-[a-z]{1,3}){0,2}:kms:([a-z]+-){2,3}\d:\d+:key/.*Update requires: No interruption
CopyTags-
Indicates whether to copy all user-defined tags from the source snapshot or AMI to the cross-Region copy.
Required: No
Type: Boolean
Update requires: No interruption
DeprecateRuleProperty description not available.
Required: No
Type: CrossRegionCopyDeprecateRule
Update requires: No interruption
Encrypted-
To encrypt a copy of an unencrypted snapshot if encryption by default is not enabled, enable encryption using this parameter. Copies of encrypted snapshots are encrypted, even if this parameter is false or if encryption by default is not enabled.
Required: Yes
Type: Boolean
Update requires: No interruption
RetainRule-
The retention rule that indicates how long the cross-Region snapshot or AMI copies are to be retained in the destination Region.
Required: No
Type: CrossRegionCopyRetainRule
Update requires: No interruption
Target-
The target Region or the Amazon Resource Name (ARN) of the target Outpost for the snapshot copies.
Use this parameter instead of TargetRegion. Do not specify both.
Required: No
Type: String
Minimum:
0Maximum:
2048Pattern:
^[\w:\-\/\*]+$Update requires: No interruption
TargetRegion-
Note
Avoid using this parameter when creating new policies. Instead, use Target to specify a target Region or a target Outpost for snapshot copies.
For policies created before the Target parameter was introduced, this parameter indicates the target Region for snapshot copies.
Required: No
Type: String
Minimum:
0Maximum:
16Pattern:
([a-z]+-){2,3}\dUpdate requires: No interruption