class Aws::S3::Types::DefaultRetention
@see docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DefaultRetention AWS API Documentation
@return [Integer]
retention period.
The number of years that you want to specify for the default
@!attribute [rw] years
@return [Integer]
retention period.
The number of days that you want to specify for the default
@!attribute [rw] days
@return [String]
objects placed in the specified bucket.
The default Object Lock retention mode you want to apply to new
@!attribute [rw] mode
}
years: 1,
days: 1,
mode: “GOVERNANCE”, # accepts GOVERNANCE, COMPLIANCE
{
data as a hash:
@note When making an API call, you may pass DefaultRetention
settings for new objects placed in the specified bucket.
The container element for specifying the default Object Lock retention