AWS::DLM::LifecyclePolicy CrossRegionCopyRetainRule
Specifies a retention rule for cross-Region snapshot copies created by snapshot or event-based policies, or cross-Region AMI copies created by AMI policies. After the retention period expires, the cross-Region copy is deleted.
Syntax
To declare this entity in your Amazon CloudFormation template, use the following syntax:
JSON
{ "Interval" :Integer, "IntervalUnit" :String}
YAML
Interval:IntegerIntervalUnit:String
Properties
Interval-
The amount of time to retain a cross-Region snapshot or AMI copy. The maximum is 100 years. This is equivalent to 1200 months, 5200 weeks, or 36500 days.
Required: Yes
Type: Integer
Minimum:
1Update requires: No interruption
IntervalUnit-
The unit of time for time-based retention. For example, to retain a cross-Region copy for 3 months, specify
Interval=3andIntervalUnit=MONTHS.Required: Yes
Type: String
Allowed values:
DAYS | MONTHS | WEEKS | YEARSUpdate requires: No interruption