Skip to content

LifecycleRuleAndOperator

Source code in docs_src/capo_s3_control/types/lifecycle_rule_and_operator.py
class LifecycleRuleAndOperator(TypedDict, closed=True):
    prefix: NotRequired["capo_s3_control.types.prefix.Prefix"]
    """<p>Prefix identifying one or more objects to which the rule applies.</p>"""
    tags: NotRequired["capo_s3_control.types.s3_tag_set.S3TagSet"]
    """<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_control.types.object_size_greater_than_bytes.ObjectSizeGreaterThanBytes"
    ]
    """<p>The non-inclusive minimum object size for the lifecycle rule. Setting this property to 7 means the rule applies to objects with a size that is greater than 7. </p>"""
    object_size_less_than: NotRequired[
        "capo_s3_control.types.object_size_less_than_bytes.ObjectSizeLessThanBytes"
    ]
    """<p>The non-inclusive maximum object size for the lifecycle rule. Setting this property to 77 means the rule applies to objects with a size that is less than 77. </p>"""

object_size_greater_than instance-attribute

object_size_greater_than: NotRequired[ObjectSizeGreaterThanBytes]

The non-inclusive minimum object size for the lifecycle rule. Setting this property to 7 means the rule applies to objects with a size that is greater than 7.

object_size_less_than instance-attribute

object_size_less_than: NotRequired[ObjectSizeLessThanBytes]

The non-inclusive maximum object size for the lifecycle rule. Setting this property to 77 means the rule applies to objects with a size that is less than 77.

prefix instance-attribute

prefix: NotRequired[Prefix]

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

tags instance-attribute

tags: NotRequired[S3TagSet]

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