Skip to content

UserPoolConfig

Source code in docs_src/capo_appsync/types/user_pool_config.py
class UserPoolConfig(TypedDict, closed=True):
    user_pool_id: "capo_appsync.types.string.String"
    """<p>The user pool ID.</p>"""
    aws_region: "capo_appsync.types.string.String"
    """<p>The Amazon Web Services Region in which the user pool was created.</p>"""
    default_action: "capo_appsync.types.default_action.DefaultAction"
    """<p>The action that you want your GraphQL API to take when a request that uses Amazon Cognito user pool authentication doesn't match the Amazon Cognito user pool configuration.</p>"""
    app_id_client_regex: NotRequired["capo_appsync.types.string.String"]
    """<p>A regular expression for validating the incoming Amazon Cognito user pool app client ID. If this value isn't set, no filtering is applied.</p>"""

app_id_client_regex instance-attribute

app_id_client_regex: NotRequired[String]

A regular expression for validating the incoming Amazon Cognito user pool app client ID. If this value isn't set, no filtering is applied.

aws_region instance-attribute

aws_region: String

The Amazon Web Services Region in which the user pool was created.

default_action instance-attribute

default_action: DefaultAction

The action that you want your GraphQL API to take when a request that uses Amazon Cognito user pool authentication doesn't match the Amazon Cognito user pool configuration.

user_pool_id instance-attribute

user_pool_id: String

The user pool ID.