Class: Aws::S3::Types::ObjectLockRule
- Inherits:
-
Struct
- Object
- Struct
- Aws::S3::Types::ObjectLockRule
- Defined in:
- gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb
Overview
The container element for an Object Lock rule.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#default_retention ⇒ Types::DefaultRetention
The default Object Lock retention mode and period that you want to apply to new objects placed in the specified bucket.
Instance Attribute Details
#default_retention ⇒ Types::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.
12431 12432 12433 12434 12435 |
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 12431 class ObjectLockRule < Struct.new( :default_retention) SENSITIVE = [] include Aws::Structure end |