AWS::DLM::LifecyclePolicy CrossRegionCopyDeprecateRule - AWS CloudFormation

AWS::DLM::LifecyclePolicy CrossRegionCopyDeprecateRule

[Custom AMI policies only] Specifies an AMI deprecation rule for cross-Region AMI copies created by an AMI policy.


To declare this entity in your AWS CloudFormation template, use the following syntax:


{ "Interval" : Integer, "IntervalUnit" : String }


Interval: Integer IntervalUnit: String



The period after which to deprecate the cross-Region AMI copies. The period must be less than or equal to the cross-Region AMI copy retention period, and it can't be greater than 10 years. This is equivalent to 120 months, 520 weeks, or 3650 days.

Required: Yes

Type: Integer

Minimum: 1

Update requires: No interruption


The unit of time in which to measure the Interval. For example, to deprecate a cross-Region AMI copy after 3 months, specify Interval=3 and IntervalUnit=MONTHS.

Required: Yes

Type: String

Allowed values: DAYS | WEEKS | MONTHS | YEARS

Update requires: No interruption