Skip to content

Authorization

Source code in docs_src/capo_apigatewayv2/types/authorization.py
class Authorization(TypedDict, closed=True):
    cognito_config: NotRequired["capo_apigatewayv2.types.cognito_config.CognitoConfig"]
    """<p>The Amazon Cognito configuration.</p>"""
    none: NotRequired["capo_apigatewayv2.types.none.None_"]
    """<p>Provide no authorization for your portal. This makes your portal publicly accesible on the web.</p>"""

cognito_config instance-attribute

cognito_config: NotRequired[CognitoConfig]

The Amazon Cognito configuration.

none instance-attribute

none: NotRequired[None_]

Provide no authorization for your portal. This makes your portal publicly accesible on the web.