Skip to content

AttributeType

Source code in docs_src/capo_cognito_identity_provider/types/attribute_type.py
class AttributeType(TypedDict, closed=True):
    name: "capo_cognito_identity_provider.types.attribute_name_type.AttributeNameType"
    r"""<p>The name of the attribute, for example <code>email</code> or <code>custom:department</code>.</p> <p>In some older user pools, the regex pattern for acceptable values of this parameter is <code>[\p{L}\p{M}\p{S}\p{N}\p{P}]+</code>. Older pools will eventually be updated to use the new pattern. Affected user pools are those created before May 2024 in US East (N. Virginia), US East (Ohio), US West (N. California), US West (Oregon), Asia Pacific (Mumbai), Asia Pacific (Tokyo), Asia Pacific (Seoul), Asia Pacific (Singapore), Asia Pacific (Sydney), Canada (Central), Europe (Frankfurt), Europe (Ireland), Europe (London), Europe (Paris), Europe (Stockholm), Middle East (Bahrain), and South America (São Paulo). </p>"""
    value: NotRequired[
        "capo_cognito_identity_provider.types.attribute_value_type.AttributeValueType"
    ]
    """<p>The value of the attribute.</p>"""

name instance-attribute

The name of the attribute, for example email or custom:department.

In some older user pools, the regex pattern for acceptable values of this parameter is [\p{L}\p{M}\p{S}\p{N}\p{P}]+. Older pools will eventually be updated to use the new pattern. Affected user pools are those created before May 2024 in US East (N. Virginia), US East (Ohio), US West (N. California), US West (Oregon), Asia Pacific (Mumbai), Asia Pacific (Tokyo), Asia Pacific (Seoul), Asia Pacific (Singapore), Asia Pacific (Sydney), Canada (Central), Europe (Frankfurt), Europe (Ireland), Europe (London), Europe (Paris), Europe (Stockholm), Middle East (Bahrain), and South America (São Paulo).

value instance-attribute

value: NotRequired[AttributeValueType]

The value of the attribute.