IWebSocketRouteAuthorizer

class aws_cdk.aws_apigatewayv2.IWebSocketRouteAuthorizer(*args, **kwds)

Bases: Protocol

(experimental) An authorizer that can attach to an WebSocket Route.

Stability:

experimental

Methods

bind(*, route, scope)

(experimental) Bind this authorizer to a specified WebSocket route.

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

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

Stability:

experimental

Return type:

WebSocketRouteAuthorizerConfig