Skip to content

StringAttributeConstraintsType

Source code in docs_src/capo_cognito_identity_provider/types/string_attribute_constraints_type.py
class StringAttributeConstraintsType(TypedDict, closed=True):
    min_length: NotRequired[
        "capo_cognito_identity_provider.types.string_type.StringType"
    ]
    """<p>The minimum length of a string attribute value.</p>"""
    max_length: NotRequired[
        "capo_cognito_identity_provider.types.string_type.StringType"
    ]
    """<p>The maximum length of a string attribute value. Must be a number less than or equal to <code>2^1023</code>, represented as a string with a length of 131072 characters or fewer.</p>"""

max_length instance-attribute

max_length: NotRequired[StringType]

The maximum length of a string attribute value. Must be a number less than or equal to 2^1023, represented as a string with a length of 131072 characters or fewer.

min_length instance-attribute

min_length: NotRequired[StringType]

The minimum length of a string attribute value.