BucketV2LifecycleRule constructor
- Input<
int?> ? abortIncompleteMultipartUploadDays, - required Input<
bool> enabled, - Input<
List< ? expirations,BucketV2LifecycleRuleExpiration> ?> - Input<
String?> ? id, - Input<
List< ? noncurrentVersionExpirations,BucketV2LifecycleRuleNoncurrentVersionExpiration> ?> - Input<
List< ? noncurrentVersionTransitions,BucketV2LifecycleRuleNoncurrentVersionTransition> ?> - Input<
String?> ? prefix, - Input<
Map< ? tags,String, String> ?> - Input<
List< ? transitions,BucketV2LifecycleRuleTransition> ?>
Creates a new BucketV2LifecycleRule.
abortIncompleteMultipartUploadDays Number of days after initiating a multipart upload when the multipart upload must be completed.
enabled Lifecycle rule status.
expirations 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.
noncurrentVersionExpirations 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 BucketV2LifecycleRule({
this.abortIncompleteMultipartUploadDays,
required this.enabled,
this.expirations,
this.id,
this.noncurrentVersionExpirations,
this.noncurrentVersionTransitions,
this.prefix,
this.tags,
this.transitions,
});