IHttpRouteAuthorizer

class aws_cdk.aws_apigatewayv2.IHttpRouteAuthorizer(*args, **kwargs)

Bases: Protocol

An authorizer that can attach to an Http Route.

Methods

bind(*, route, scope)

Bind this authorizer to a specified Http route.

Parameters:
  • route (IHttpRoute) – The route to which the authorizer is being bound.

  • scope (Construct) – The scope for any constructs created as part of the bind.

Return type:

HttpRouteAuthorizerConfig