Skip to content

LifecycleRuleAndOperator

Source code in docs_src/capo_s3/types/lifecycle_rule_and_operator.py
class LifecycleRuleAndOperator(TypedDict, closed=True):
    prefix: NotRequired["capo_s3.types.prefix.Prefix"]
    """<p>Prefix identifying one or more objects to which the rule applies.</p>"""
    tags: NotRequired["capo_s3.types.tag_set.TagSet"]
    """<p>All of these tags must exist in the object's tag set in order for the rule to apply.</p>"""
    object_size_greater_than: NotRequired[
        "capo_s3.types.object_size_greater_than_bytes.ObjectSizeGreaterThanBytes"
    ]
    """<p>Minimum object size to which the rule applies.</p>"""
    object_size_less_than: NotRequired[
        "capo_s3.types.object_size_less_than_bytes.ObjectSizeLessThanBytes"
    ]
    """<p>Maximum object size to which the rule applies.</p>"""

object_size_greater_than instance-attribute

object_size_greater_than: NotRequired[ObjectSizeGreaterThanBytes]

Minimum object size to which the rule applies.

object_size_less_than instance-attribute

object_size_less_than: NotRequired[ObjectSizeLessThanBytes]

Maximum object size to which the rule applies.

prefix instance-attribute

prefix: NotRequired[Prefix]

Prefix identifying one or more objects to which the rule applies.

tags instance-attribute

tags: NotRequired[TagSet]

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