BucketLifecycleConfigurationV2RuleTransitionArgs

data class BucketLifecycleConfigurationV2RuleTransitionArgs(val date: Output<String>? = null, val days: Output<Int>? = null, val storageClass: Output<String>) : ConvertibleToJava<BucketLifecycleConfigurationV2RuleTransitionArgs>

Constructors

constructor(date: Output<String>? = null, days: Output<Int>? = null, storageClass: Output<String>)

Properties

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

Date objects are transitioned to the specified storage class. The date value must be in RFC3339 format and set to midnight UTC e.g. 2023-01-13T00:00:00Z.

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

Number of days after creation when objects are transitioned to the specified storage class. The value must be a positive integer. If both days and date are not specified, defaults to 0. Valid values depend on storage_class, see Transition objects using Amazon S3 Lifecycle for more details.

Link copied to clipboard
val storageClass: Output<String>

Class of storage used to store the object. Valid Values: GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE, GLACIER_IR.

Functions

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