BucketObjectLockConfigurationRuleDefaultRetention constructor
const
BucketObjectLockConfigurationRuleDefaultRetention({})
Creates a new BucketObjectLockConfigurationRuleDefaultRetention.
days Number of days that you want to specify for the default retention period.
mode Default Object Lock retention mode you want to apply to new objects placed in the specified bucket. Valid values: COMPLIANCE, GOVERNANCE.
years Number of years that you want to specify for the default retention period.
Implementation
const BucketObjectLockConfigurationRuleDefaultRetention({
this.days,
this.mode,
this.years,
});