BucketLifecycleConfigurationV2RuleExpirationArgs

data class BucketLifecycleConfigurationV2RuleExpirationArgs(val date: Output<String>? = null, val days: Output<Int>? = null, val expiredObjectDeleteMarker: Output<Boolean>? = null) : ConvertibleToJava<BucketLifecycleConfigurationV2RuleExpirationArgs>

Constructors

constructor(date: Output<String>? = null, days: Output<Int>? = null, expiredObjectDeleteMarker: Output<Boolean>? = null)

Properties

Link copied to clipboard
val date: Output<String>? = null

Date the object is to be moved or deleted. Should be in RFC3339 format.

Link copied to clipboard
val days: Output<Int>? = null

Lifetime, in days, of the objects that are subject to the rule. The value must be a non-zero positive integer.

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

Indicates whether Amazon S3 will remove a delete marker with no noncurrent versions. If set to true, the delete marker will be expired; if set to false the policy takes no action.

Functions

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