BucketLifecycleRuleArgs

data class BucketLifecycleRuleArgs(val abortIncompleteMultipartUploadDays: Output<Int>? = null, val enabled: Output<Boolean>, val expiration: Output<BucketLifecycleRuleExpirationArgs>? = null, val id: Output<String>? = null, val noncurrentVersionExpiration: Output<BucketLifecycleRuleNoncurrentVersionExpirationArgs>? = null, val noncurrentVersionTransitions: Output<List<BucketLifecycleRuleNoncurrentVersionTransitionArgs>>? = null, val prefix: Output<String>? = null, val tags: Output<Map<String, String>>? = null, val transitions: Output<List<BucketLifecycleRuleTransitionArgs>>? = null) : ConvertibleToJava<BucketLifecycleRuleArgs>

Constructors

Link copied to clipboard
constructor(abortIncompleteMultipartUploadDays: Output<Int>? = null, enabled: Output<Boolean>, expiration: Output<BucketLifecycleRuleExpirationArgs>? = null, id: Output<String>? = null, noncurrentVersionExpiration: Output<BucketLifecycleRuleNoncurrentVersionExpirationArgs>? = null, noncurrentVersionTransitions: Output<List<BucketLifecycleRuleNoncurrentVersionTransitionArgs>>? = null, prefix: Output<String>? = null, tags: Output<Map<String, String>>? = null, transitions: Output<List<BucketLifecycleRuleTransitionArgs>>? = null)

Properties

Link copied to clipboard

Specifies the number of days after initiating a multipart upload when the multipart upload must be completed.

Link copied to clipboard
val enabled: Output<Boolean>

Specifies lifecycle rule status.

Link copied to clipboard

Specifies a period in the object's expire (documented below).

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

Unique identifier for the rule. Must be less than or equal to 255 characters in length.

Link copied to clipboard

Specifies when noncurrent object versions expire (documented below).

Link copied to clipboard

Specifies when noncurrent object versions transitions (documented below). At least one of abort_incomplete_multipart_upload_days, expiration, transition, noncurrent_version_expiration, noncurrent_version_transition must be specified.

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

Object key prefix identifying one or more objects to which the rule applies.

Link copied to clipboard
val tags: Output<Map<String, String>>? = null

Specifies object tags key and value.

Link copied to clipboard

Specifies a period in the object's transitions (documented below).

Functions

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