OptionalPrefixPrefix identifying one or more objects to which the rule applies.
Replacement must be made for object keys containing special characters (such as carriage returns) when using XML requests. For more information, see XML related object key constraints.
OptionalTagThis tag must exist in the object's tag set in order for the rule to apply.
This parameter applies to general purpose buckets only. It is not supported for directory bucket lifecycle configurations.
OptionalObjectMinimum object size to which the rule applies.
OptionalObjectMaximum object size to which the rule applies.
OptionalAndThis is used in a Lifecycle Rule Filter to apply a logical AND to two or more predicates. The Lifecycle Rule will apply to any object matching all of the predicates configured inside the And operator.
The
Filteris used to identify objects that a Lifecycle Rule applies to. AFiltercan have exactly one ofPrefix,Tag,ObjectSizeGreaterThan,ObjectSizeLessThan, orAndspecified. If theFilterelement is left empty, the Lifecycle Rule applies to all objects in the bucket.