Skip to content

CognitoConfig

Source code in docs_src/capo_apiportal/types/cognito_config.py
class CognitoConfig(TypedDict, closed=True):
    user_pool_arn: "capo_apiportal.types.user_pool_arn.UserPoolArn"
    """The ARN of the Cognito user pool."""
    app_client_id: "capo_apiportal.types.app_client_id.AppClientId"
    """The ID of the user pool app client the portal uses."""
    user_pool_domain: "capo_apiportal.types.user_pool_domain.UserPoolDomain"
    """The domain of the user pool's hosted sign-in pages."""
    identity_pool_id: NotRequired[
        "capo_apiportal.types.identity_pool_id.IdentityPoolId"
    ]
    """The ID of the Cognito identity pool. Required only for fine-grained access control."""

app_client_id instance-attribute

app_client_id: AppClientId

The ID of the user pool app client the portal uses.

identity_pool_id instance-attribute

identity_pool_id: NotRequired[IdentityPoolId]

The ID of the Cognito identity pool. Required only for fine-grained access control.

user_pool_arn instance-attribute

user_pool_arn: UserPoolArn

The ARN of the Cognito user pool.

user_pool_domain instance-attribute

user_pool_domain: UserPoolDomain

The domain of the user pool's hosted sign-in pages.