BucketLifecycleConfigurationV2RuleExpiration

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

Constructors

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

Date the object is to be moved or deleted. The date value must be in RFC3339 full-date format e.g. 2023-08-22.

Link copied to clipboard
val days: 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

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.