NoncurrentVersionExpirationArgs

data class NoncurrentVersionExpirationArgs(val newerNoncurrentVersions: Output<Int>? = null, val noncurrentDays: Output<Int>? = null) : ConvertibleToJava<NoncurrentVersionExpirationArgs>

Definition of NoncurrentVersionExpiration

Constructors

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

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
val noncurrentDays: Output<Int>? = null

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

Functions

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