AWS::S3::Bucket ObjectLockRule - AWS CloudFormation

AWS::S3::Bucket ObjectLockRule

The Object Lock rule in place for the specified object.


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



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