BucketLifecycleConfigurationRuleExpirationArgs

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

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 deleted. Should be in YYYY-MM-DD date format, e.g., 2020-09-30.

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

Number of days before the object is to be deleted.

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

Enable to remove a delete marker with no noncurrent versions. Cannot be specified with date or days.

Functions

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