BucketLifecycleConfigurationV2RuleTransition

data class BucketLifecycleConfigurationV2RuleTransition(val date: String? = null, val days: Int? = null, val storageClass: String)

Constructors

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

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val date: 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: 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

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