Jump to Content

This API Documentation is now deprecated

We are excited to announce our new API Documentation.

Interface ObjectLockRule

The container element for an Object Lock rule.

Hierarchy

  • ObjectLockRule

Properties

Properties

DefaultRetention?: DefaultRetention

The default Object Lock retention mode and period that you want to apply to new objects placed in the specified bucket. Bucket settings require both a mode and a period. The period can be either Days or Years but you must select one. You cannot specify Days and Years at the same time.