AWS::S3::Bucket RecordExpiration - 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).

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

AWS::S3::Bucket RecordExpiration

The journal table record expiration settings for a journal table in an S3 Metadata configuration.

Syntax

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

JSON

{ "Days" : Integer, "Expiration" : String }

YAML

Days: Integer Expiration: String

Properties

Days

If you enable journal table record expiration, you can set the number of days to retain your journal table records. Journal table records must be retained for a minimum of 7 days. To set this value, specify any whole number from 7 to 2147483647. For example, to retain your journal table records for one year, set this value to 365.

Required: No

Type: Integer

Update requires: No interruption

Expiration

Specifies whether journal table record expiration is enabled or disabled.

Required: Yes

Type: String

Allowed values: ENABLED | DISABLED

Update requires: No interruption