BucketV2LifecycleRuleArgs

data class BucketV2LifecycleRuleArgs(val abortIncompleteMultipartUploadDays: Output<Int>? = null, val enabled: Output<Boolean>, val expirations: Output<List<BucketV2LifecycleRuleExpirationArgs>>? = null, val id: Output<String>? = null, val noncurrentVersionExpirations: Output<List<BucketV2LifecycleRuleNoncurrentVersionExpirationArgs>>? = null, val noncurrentVersionTransitions: Output<List<BucketV2LifecycleRuleNoncurrentVersionTransitionArgs>>? = null, val prefix: Output<String>? = null, val tags: Output<Map<String, String>>? = null, val transitions: Output<List<BucketV2LifecycleRuleTransitionArgs>>? = null) : ConvertibleToJava<BucketV2LifecycleRuleArgs>

Constructors

Link copied to clipboard
constructor(abortIncompleteMultipartUploadDays: Output<Int>? = null, enabled: Output<Boolean>, expirations: Output<List<BucketV2LifecycleRuleExpirationArgs>>? = null, id: Output<String>? = null, noncurrentVersionExpirations: Output<List<BucketV2LifecycleRuleNoncurrentVersionExpirationArgs>>? = null, noncurrentVersionTransitions: Output<List<BucketV2LifecycleRuleNoncurrentVersionTransitionArgs>>? = null, prefix: Output<String>? = null, tags: Output<Map<String, String>>? = null, transitions: Output<List<BucketV2LifecycleRuleTransitionArgs>>? = 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. See Expiration below for details.

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. See Noncurrent Version Expiration below for details.

Link copied to clipboard

Specifies when noncurrent object versions transitions. See Noncurrent Version Transition below for details.

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. See Transition below for details.

Functions

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