AWS CloudFormation
User Guide (Version )

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.

Required: No

Type: DefaultRetention

Update requires: No interruption

On this page: