Skip to content

CreateBackendAuthResourceConfig

Source code in docs_src/capo_amplifybackend/types/create_backend_auth_resource_config.py
class CreateBackendAuthResourceConfig(TypedDict, closed=True):
    auth_resources: NotRequired[
        "capo_amplifybackend.types.auth_resources.AuthResources"
    ]
    """<p>Defines whether you want to configure only authentication or both authentication and authorization settings.</p>"""
    identity_pool_configs: NotRequired[
        "capo_amplifybackend.types.create_backend_auth_identity_pool_config.CreateBackendAuthIdentityPoolConfig"
    ]
    """<p>Describes the authorization configuration for the Amazon Cognito identity pool, provisioned as a part of your auth resource in the Amplify project.</p>"""
    service: NotRequired["capo_amplifybackend.types.service.Service"]
    """<p>Defines the service name to use when configuring an authentication resource in your Amplify project.</p>"""
    user_pool_configs: NotRequired[
        "capo_amplifybackend.types.create_backend_auth_user_pool_config.CreateBackendAuthUserPoolConfig"
    ]
    """<p>Describes authentication configuration for the Amazon Cognito user pool, provisioned as a part of your auth resource in the Amplify project.</p>"""

auth_resources instance-attribute

auth_resources: NotRequired[AuthResources]

Defines whether you want to configure only authentication or both authentication and authorization settings.

identity_pool_configs instance-attribute

identity_pool_configs: NotRequired[CreateBackendAuthIdentityPoolConfig]

Describes the authorization configuration for the Amazon Cognito identity pool, provisioned as a part of your auth resource in the Amplify project.

service instance-attribute

service: NotRequired[Service]

Defines the service name to use when configuring an authentication resource in your Amplify project.

user_pool_configs instance-attribute

user_pool_configs: NotRequired[CreateBackendAuthUserPoolConfig]

Describes authentication configuration for the Amazon Cognito user pool, provisioned as a part of your auth resource in the Amplify project.