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