HttpRouteAuthorizerConfig

class aws_cdk.aws_apigatewayv2.HttpRouteAuthorizerConfig(*, authorization_type, authorization_scopes=None, authorizer_id=None)

Bases: object

(experimental) Results of binding an authorizer to an http route.

Parameters
  • authorization_type (HttpAuthorizerType) – (experimental) The type of authorization.

  • authorization_scopes (Optional[Sequence[str]]) – (experimental) The list of OIDC scopes to include in the authorization. Default: - no authorization scopes

  • authorizer_id (Optional[str]) – (experimental) The authorizer id. Default: - No authorizer id (useful for AWS_IAM route authorizer)

Stability

experimental

Attributes

authorization_scopes

(experimental) The list of OIDC scopes to include in the authorization.

Default
  • no authorization scopes

Stability

experimental

Return type

Optional[List[str]]

authorization_type

(experimental) The type of authorization.

Stability

experimental

Return type

HttpAuthorizerType

authorizer_id

(experimental) The authorizer id.

Default
  • No authorizer id (useful for AWS_IAM route authorizer)

Stability

experimental

Return type

Optional[str]