AWS::DLM::LifecyclePolicy CrossRegionCopyRetainRule - AWS CloudFormation

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 AWS CloudFormation template, use the following syntax:

JSON

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

YAML

Interval: Integer IntervalUnit: 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: 1

Update 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=3 and IntervalUnit=MONTHS.

Required: Yes

Type: String

Allowed values: DAYS | WEEKS | MONTHS | YEARS

Update requires: No interruption