BucketNoncurrentVersionTransitionArgs

data class BucketNoncurrentVersionTransitionArgs(val newerNoncurrentVersions: Output<Int>? = null, val storageClass: Output<BucketNoncurrentVersionTransitionStorageClass>, val transitionInDays: Output<Int>) : ConvertibleToJava<BucketNoncurrentVersionTransitionArgs>

Container for the transition rule that describes when noncurrent objects transition to the `STANDARD_IA`, `ONEZONE_IA`, `INTELLIGENT_TIERING`, `GLACIER_IR`, `GLACIER`, or `DEEP_ARCHIVE` storage class. If your bucket is versioning-enabled (or versioning is suspended), you can set this action to request that Amazon S3 transition noncurrent object versions to the `STANDARD_IA`, `ONEZONE_IA`, `INTELLIGENT_TIERING`, `GLACIER_IR`, `GLACIER`, or `DEEP_ARCHIVE` storage class at a specific period in the object's lifetime. If you specify this property, don't specify the `NoncurrentVersionTransitions` property.

Constructors

Link copied to clipboard
constructor(newerNoncurrentVersions: Output<Int>? = null, storageClass: Output<BucketNoncurrentVersionTransitionStorageClass>, transitionInDays: Output<Int>)

Properties

Link copied to clipboard
val newerNoncurrentVersions: Output<Int>? = null

Specifies how many noncurrent versions S3 will retain. If there are this many more recent noncurrent versions, S3 will take the associated action. For more information about noncurrent versions, see Lifecycle configuration elements in the Amazon S3 User Guide.

Link copied to clipboard

The class of storage used to store the object.

Link copied to clipboard
val transitionInDays: Output<Int>

Specifies the number of days an object is noncurrent before Amazon S3 can perform the associated action. For information about the noncurrent days calculations, see How Amazon S3 Calculates How Long an Object Has Been Noncurrent in the Amazon S3 User Guide.

Functions

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