SpacesBucketLifecycleRuleArgs

data class SpacesBucketLifecycleRuleArgs(val abortIncompleteMultipartUploadDays: Output<Int>? = null, val enabled: Output<Boolean>, val expiration: Output<SpacesBucketLifecycleRuleExpirationArgs>? = null, val id: Output<String>? = null, val noncurrentVersionExpiration: Output<SpacesBucketLifecycleRuleNoncurrentVersionExpirationArgs>? = null, val prefix: Output<String>? = null) : ConvertibleToJava<SpacesBucketLifecycleRuleArgs>

Constructors

Link copied to clipboard
constructor(abortIncompleteMultipartUploadDays: Output<Int>? = null, enabled: Output<Boolean>, expiration: Output<SpacesBucketLifecycleRuleExpirationArgs>? = null, id: Output<String>? = null, noncurrentVersionExpiration: Output<SpacesBucketLifecycleRuleNoncurrentVersionExpirationArgs>? = null, prefix: Output<String>? = null)

Properties

Link copied to clipboard

Specifies the number of days after initiating a multipart upload when the multipart upload must be completed or else Spaces will abort the upload.

Link copied to clipboard
val enabled: Output<Boolean>

Specifies lifecycle rule status.

Link copied to clipboard

Specifies a time period after which applicable objects expire (documented below).

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

Unique identifier for the rule.

Link copied to clipboard

Specifies when non-current object versions expire (documented below). At least one of expiration or noncurrent_version_expiration 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.

Functions

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