Bucket Lifecycle Rule Expiration
data class BucketLifecycleRuleExpiration(val createdBeforeDate: String? = null, val date: String? = null, val days: Int? = null, val expiredObjectDeleteMarker: Boolean? = null)
Properties
Link copied to clipboard
Specifies the time before which the rules take effect. The date must conform to the ISO8601 format and always be UTC 00:00. For example: 2002-10-11T00:00:00.000Z indicates that parts created before 2002-10-11T00:00:00.000Z are deleted, and parts created after this time (including this time) are not deleted.
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 OSS to delete expired object delete markers. This cannot be specified with Days, Date or CreatedBeforeDate in a Lifecycle Expiration Policy. NOTE
: One and only one of "date", "days", "created_before_date" and "expired_object_delete_marker" can be specified in one expiration configuration.