BucketRetentionPolicyArgs

data class BucketRetentionPolicyArgs(val isLocked: Output<Boolean>? = null, val retentionPeriod: Output<Int>) : ConvertibleToJava<BucketRetentionPolicyArgs>

Constructors

Link copied to clipboard
fun BucketRetentionPolicyArgs(isLocked: Output<Boolean>? = null, retentionPeriod: Output<Int>)

Functions

Link copied to clipboard
open override fun toJava(): BucketRetentionPolicyArgs

Properties

Link copied to clipboard
val isLocked: Output<Boolean>? = null

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.

Link copied to clipboard
val retentionPeriod: Output<Int>

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.