BucketLifecycleRuleArgs

data class BucketLifecycleRuleArgs(val abortMultipartUploads: Output<List<BucketLifecycleRuleAbortMultipartUploadArgs>>? = null, val enabled: Output<Boolean>, val expirations: Output<List<BucketLifecycleRuleExpirationArgs>>? = null, val id: Output<String>? = null, val noncurrentVersionExpirations: Output<List<BucketLifecycleRuleNoncurrentVersionExpirationArgs>>? = null, val noncurrentVersionTransitions: Output<List<BucketLifecycleRuleNoncurrentVersionTransitionArgs>>? = null, val prefix: Output<String>? = null, val transitions: Output<List<BucketLifecycleRuleTransitionArgs>>? = null) : ConvertibleToJava<BucketLifecycleRuleArgs>

Constructors

Link copied to clipboard
fun BucketLifecycleRuleArgs(abortMultipartUploads: Output<List<BucketLifecycleRuleAbortMultipartUploadArgs>>? = null, enabled: Output<Boolean>, expirations: Output<List<BucketLifecycleRuleExpirationArgs>>? = null, id: Output<String>? = null, noncurrentVersionExpirations: Output<List<BucketLifecycleRuleNoncurrentVersionExpirationArgs>>? = null, noncurrentVersionTransitions: Output<List<BucketLifecycleRuleNoncurrentVersionTransitionArgs>>? = null, prefix: Output<String>? = null, transitions: Output<List<BucketLifecycleRuleTransitionArgs>>? = null)

Functions

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

Properties

Link copied to clipboard

Specifies the number of days after initiating a multipart upload when the multipart upload must be completed (documented below).

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. If omitted, OSS bucket will assign a unique name.

Link copied to clipboard

Specifies when noncurrent object versions expire (documented below).

Link copied to clipboard

Specifies when noncurrent object versions transitions (documented below).

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

Object key prefix identifying one or more objects to which the rule applies. Default value is null, the rule applies to all objects in a bucket.

Link copied to clipboard

Specifies the time when an object is converted to the IA or archive storage class during a valid life cycle. (documented below).