BucketLifecycleRule constructor
- Input<
int?> ? abortIncompleteMultipartUploadDays, - required Input<
bool> enabled, - Input<
BucketLifecycleRuleExpiration?> ? expiration, - Input<
String?> ? id, - Input<
BucketLifecycleRuleNoncurrentVersionExpiration?> ? noncurrentVersionExpiration, - Input<
List< ? noncurrentVersionTransitions,BucketLifecycleRuleNoncurrentVersionTransition> ?> - Input<
String?> ? prefix, - Input<
Map< ? tags,String, String> ?> - Input<
List< ? transitions,BucketLifecycleRuleTransition> ?>
Creates a new BucketLifecycleRule.
abortIncompleteMultipartUploadDays Number of days after initiating a multipart upload when the multipart upload must be completed.
enabled Lifecycle rule status.
expiration Configuration of the object expiration. See expiration Block below for details.
id Unique identifier for the rule. Must be less than or equal to 255 characters in length.
noncurrentVersionExpiration When noncurrent object versions expire. See noncurrentVersionExpiration Block below for details.
noncurrentVersionTransitions When noncurrent object versions transition. See noncurrentVersionTransition Block below for details.
prefix Object key prefix identifying one or more objects to which the rule applies.
tags Object tags key and value.
transitions Configuration of the object transition. See transition Block below for details.
Implementation
const BucketLifecycleRule({
this.abortIncompleteMultipartUploadDays,
required this.enabled,
this.expiration,
this.id,
this.noncurrentVersionExpiration,
this.noncurrentVersionTransitions,
this.prefix,
this.tags,
this.transitions,
});