Skip to content

S3  >  Dictionaries  >  LifecycleRuleAndOperatorDict

LifecycleRuleAndOperatorDict

Dictionary Type

LifecycleRuleAndOperatorDict

Bases: TypedDict

Dictionary form of LifecycleRuleAndOperator.

Attributes

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.

tags instance-attribute
tags: Sequence[Tag | TagDict] | None

All of these tags must exist in the object's tag set in order for the rule to apply.