AWS::Rbin::Rule RetentionPeriod - 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::Rbin::Rule RetentionPeriod

Information about the retention period for which the retention rule is to retain resources.

Syntax

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

JSON

{ "RetentionPeriodUnit" : String, "RetentionPeriodValue" : Integer }

Properties

RetentionPeriodUnit

The unit of time in which the retention period is measured. Currently, only DAYS is supported.

Required: Yes

Type: String

Allowed values: DAYS

Update requires: No interruption

RetentionPeriodValue

The period value for which the retention rule is to retain resources, measured in days. The supported retention periods are:

  • EBS volumes: 1 - 7 days

  • EBS snapshots and EBS-backed AMIs: 1 - 365 days

Required: Yes

Type: Integer

Minimum: 1

Maximum: 3650

Update requires: No interruption