Skip to content

KeyNameConstraint

Source code in docs_src/capo_s3_control/types/key_name_constraint.py
class KeyNameConstraint(TypedDict, closed=True):
    match_any_prefix: NotRequired[
        "capo_s3_control.types.non_empty_max_length1024_string_list.NonEmptyMaxLength1024StringList"
    ]
    """<p>If provided, the generated manifest includes objects where the specified string appears at the start of the object key string. Each KeyNameConstraint filter accepts an array of strings with a length of 1 string.</p>"""
    match_any_suffix: NotRequired[
        "capo_s3_control.types.non_empty_max_length1024_string_list.NonEmptyMaxLength1024StringList"
    ]
    """<p>If provided, the generated manifest includes objects where the specified string appears at the end of the object key string. Each KeyNameConstraint filter accepts an array of strings with a length of 1 string.</p>"""
    match_any_substring: NotRequired[
        "capo_s3_control.types.non_empty_max_length1024_string_list.NonEmptyMaxLength1024StringList"
    ]
    """<p>If provided, the generated manifest includes objects where the specified string appears anywhere within the object key string. Each KeyNameConstraint filter accepts an array of strings with a length of 1 string.</p>"""

match_any_prefix instance-attribute

match_any_prefix: NotRequired[NonEmptyMaxLength1024StringList]

If provided, the generated manifest includes objects where the specified string appears at the start of the object key string. Each KeyNameConstraint filter accepts an array of strings with a length of 1 string.

match_any_substring instance-attribute

match_any_substring: NotRequired[NonEmptyMaxLength1024StringList]

If provided, the generated manifest includes objects where the specified string appears anywhere within the object key string. Each KeyNameConstraint filter accepts an array of strings with a length of 1 string.

match_any_suffix instance-attribute

match_any_suffix: NotRequired[NonEmptyMaxLength1024StringList]

If provided, the generated manifest includes objects where the specified string appears at the end of the object key string. Each KeyNameConstraint filter accepts an array of strings with a length of 1 string.