BucketLifecycleConfigurationV2RuleTransition constructor
const
BucketLifecycleConfigurationV2RuleTransition({})
Creates a new BucketLifecycleConfigurationV2RuleTransition.
date Date objects are transitioned to the specified storage class. The date value must be in RFC3339 full-date format e.g. 2023-08-22.
days 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 storageClass, see Transition objects using Amazon S3 Lifecycle for more details.
storageClass Class of storage used to store the object. Valid Values: GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE, GLACIER_IR.
Implementation
const BucketLifecycleConfigurationV2RuleTransition({
this.date,
this.days,
required this.storageClass,
});