Bucket Default Retention Args
data class BucketDefaultRetentionArgs(val days: Output<Int>? = null, val mode: Output<BucketDefaultRetentionMode>? = null, val years: Output<Int>? = null) : ConvertibleToJava<BucketDefaultRetentionArgs>
The container element for optionally specifying the default Object Lock retention settings for new objects placed in the specified bucket. + The `DefaultRetention` settings require both a mode and a period.
The
`DefaultRetention`period can be either`Days`or`Years`but you must select one. You cannot specify`Days`and`Years`at the same time.
Constructors
Link copied to clipboard
constructor(days: Output<Int>? = null, mode: Output<BucketDefaultRetentionMode>? = null, years: Output<Int>? = null)