BucketLifecycleConfigurationV2Rule constructor
- Input<
BucketLifecycleConfigurationV2RuleAbortIncompleteMultipartUpload?> ? abortIncompleteMultipartUpload, - Input<
BucketLifecycleConfigurationV2RuleExpiration?> ? expiration, - Input<
BucketLifecycleConfigurationV2RuleFilter?> ? filter, - required Input<
String> id, - Input<
BucketLifecycleConfigurationV2RuleNoncurrentVersionExpiration?> ? noncurrentVersionExpiration, - Input<
List< ? noncurrentVersionTransitions,BucketLifecycleConfigurationV2RuleNoncurrentVersionTransition> ?> - Input<
String?> ? prefix, - required Input<
String> status, - Input<
List< ? transitions,BucketLifecycleConfigurationV2RuleTransition> ?>
Creates a new BucketLifecycleConfigurationV2Rule.
abortIncompleteMultipartUpload Configuration block that specifies the days since the initiation of an incomplete multipart upload that Amazon S3 will wait before permanently removing all parts of the upload. See below.
expiration Configuration block that specifies the expiration for the lifecycle of the object in the form of date, days and, whether the object has a delete marker. See below.
filter Configuration block used to identify objects that a Lifecycle Rule applies to. See below.
id Unique identifier for the rule. The value cannot be longer than 255 characters.
noncurrentVersionExpiration Configuration block that specifies when noncurrent object versions expire. See below.
noncurrentVersionTransitions Set of configuration blocks that specify the transition rule for the lifecycle rule that describes when noncurrent objects transition to a specific storage class. See below.
prefix Prefix identifying one or more objects to which the rule applies. Use filter instead, as this has been deprecated by Amazon S3.
status Whether the rule is currently being applied. Valid values: Enabled or Disabled.
transitions Set of configuration blocks that specify when an Amazon S3 object transitions to a specified storage class. See below.
Implementation
const BucketLifecycleConfigurationV2Rule({
this.abortIncompleteMultipartUpload,
this.expiration,
this.filter,
required this.id,
this.noncurrentVersionExpiration,
this.noncurrentVersionTransitions,
this.prefix,
required this.status,
this.transitions,
});