AWS::S3::Bucket ObjectLockRule - AWS CloudFormation

AWS::S3::Bucket ObjectLockRule

The Object Lock rule in place for the specified object.

Syntax

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

Properties

DefaultRetention

The default retention period that you want to apply to new objects placed in the specified bucket. Bucket default settings require both a mode and a period.

Required: No

Type: DefaultRetention

Update requires: No interruption