data class BucketRetentionPolicyArgs(val isLocked: Output<Boolean>? = null, val retentionPeriod: Output<Int>) : ConvertibleToJava<BucketRetentionPolicyArgs>
If set to true, the bucket will be locked and permanently restrict edits to the bucket's retention policy. Caution: Locking a bucket is an irreversible action.
The period of time, in seconds, that objects in the bucket must be retained and cannot be deleted, overwritten, or archived. The value must be less than 2,147,483,647 seconds.