BucketLifecycleConfigurationV2Rule

data class BucketLifecycleConfigurationV2Rule(val abortIncompleteMultipartUpload: BucketLifecycleConfigurationV2RuleAbortIncompleteMultipartUpload? = null, val expiration: BucketLifecycleConfigurationV2RuleExpiration? = null, val filter: BucketLifecycleConfigurationV2RuleFilter? = null, val id: String, val noncurrentVersionExpiration: BucketLifecycleConfigurationV2RuleNoncurrentVersionExpiration? = null, val noncurrentVersionTransitions: List<BucketLifecycleConfigurationV2RuleNoncurrentVersionTransition>? = null, val prefix: String? = null, val status: String, val transitions: List<BucketLifecycleConfigurationV2RuleTransition>? = null)

Constructors

Link copied to clipboard
constructor(abortIncompleteMultipartUpload: BucketLifecycleConfigurationV2RuleAbortIncompleteMultipartUpload? = null, expiration: BucketLifecycleConfigurationV2RuleExpiration? = null, filter: BucketLifecycleConfigurationV2RuleFilter? = null, id: String, noncurrentVersionExpiration: BucketLifecycleConfigurationV2RuleNoncurrentVersionExpiration? = null, noncurrentVersionTransitions: List<BucketLifecycleConfigurationV2RuleNoncurrentVersionTransition>? = null, prefix: String? = null, status: String, transitions: List<BucketLifecycleConfigurationV2RuleTransition>? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Configuration block that specifies the days since the initiation of an incomplete multipart upload that Amazon S3 will wait before permanently removing all parts of the upload. See below.

Link copied to clipboard

Configuration block that specifies the expiration for the lifecycle of the object in the form of date, days and, whether the object has a delete marker. See below.

Link copied to clipboard

Configuration block used to identify objects that a Lifecycle Rule applies to. See below. If not specified, the rule will default to using prefix.

Link copied to clipboard
val id: String

Unique identifier for the rule. The value cannot be longer than 255 characters.

Link copied to clipboard

Configuration block that specifies when noncurrent object versions expire. See below.

Link copied to clipboard

Set of configuration blocks that specify the transition rule for the lifecycle rule that describes when noncurrent objects transition to a specific storage class. See below.

Link copied to clipboard
val prefix: String? = null

DEPRECATED Use filter instead. This has been deprecated by Amazon S3. Prefix identifying one or more objects to which the rule applies. Defaults to an empty string ("") if filter is not specified.

Link copied to clipboard

Whether the rule is currently being applied. Valid values: Enabled or Disabled.

Link copied to clipboard

Set of configuration blocks that specify when an Amazon S3 object transitions to a specified storage class. See below.