BucketV2LifecycleRuleExpiration

data class BucketV2LifecycleRuleExpiration(val date: String? = null, val days: Int? = null, val expiredObjectDeleteMarker: Boolean? = null)

Constructors

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

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val date: String? = null

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

Link copied to clipboard
val days: Int? = null

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

Link copied to clipboard

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.