BucketLifecycleConfigurationV2RuleFilter constructor
const
BucketLifecycleConfigurationV2RuleFilter({
- Input<
BucketLifecycleConfigurationV2RuleFilterAnd?> ? and, - Input<
int?> ? objectSizeGreaterThan, - Input<
int?> ? objectSizeLessThan, - Input<
String?> ? prefix, - Input<
BucketLifecycleConfigurationV2RuleFilterTag?> ? tag,
Creates a new BucketLifecycleConfigurationV2RuleFilter.
and Configuration block used to apply a logical AND to two or more predicates. See below. The Lifecycle Rule will apply to any object matching all the predicates configured inside the and block.
objectSizeGreaterThan Minimum object size (in bytes) to which the rule applies.
objectSizeLessThan Maximum object size (in bytes) to which the rule applies.
prefix Prefix identifying one or more objects to which the rule applies. Defaults to an empty string ("") if not specified.
tag Configuration block for specifying a tag key and value. See below.
Implementation
const BucketLifecycleConfigurationV2RuleFilter({
this.and,
this.objectSizeGreaterThan,
this.objectSizeLessThan,
this.prefix,
this.tag,
});