AWS::DLM::LifecyclePolicy CrossRegionCopyRetainRule - AWS CloudFormation
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.

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 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