AWS::DLM::LifecyclePolicy CrossRegionCopyDeprecateRule - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

AWS::DLM::LifecyclePolicy CrossRegionCopyDeprecateRule

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

Syntax

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

JSON

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

YAML

Interval: Integer IntervalUnit: String

Properties

Interval

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

IntervalUnit

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