LifecycleRuleFilterDict¶
Dictionary Type¶
LifecycleRuleFilterDict
¶
Bases: TypedDict
Dictionary form of LifecycleRuleFilter.
Attributes¶
and_
instance-attribute
¶
and_: LifecycleRuleAndOperator | LifecycleRuleAndOperatorDict | None
This 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.
object_size_greater_than
instance-attribute
¶
object_size_greater_than: int | None
Minimum object size to which the rule applies.
object_size_less_than
instance-attribute
¶
object_size_less_than: int | None
Maximum object size to which the rule applies.
prefix
instance-attribute
¶
prefix: str | None
Prefix identifying one or more objects to which the rule applies.
Warning
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.