BucketV2LifecycleRuleExpirationArgs

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

Constructors

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

Properties

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

Specifies the date after which you want the corresponding action to take effect.

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

Specifies the number of days after object creation when the specific rule action takes effect.

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

On a versioned bucket (versioning-enabled or versioning-suspended bucket), you can add this element in the lifecycle configuration to direct Amazon S3 to delete expired object delete markers. This cannot be specified with Days or Date in a Lifecycle Expiration Policy.

Functions

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