AWS CloudFormation
User Guide (Version )

The AWS Documentation website is getting a new look!
Try it now and let us know what you think. Switch to the new look >>

You can return to the original look by selecting English in the language selector above.

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.

Required: No

Type: DefaultRetention

Update requires: No interruption

On this page: