IWebSocketRouteAuthorizer
- class aws_cdk.aws_apigatewayv2.IWebSocketRouteAuthorizer(*args, **kwargs)
Bases:
Protocol
An authorizer that can attach to an WebSocket Route.
Methods
- bind(*, route, scope)
Bind this authorizer to a specified WebSocket route.
- Parameters:
route (
IWebSocketRoute
) – The route to which the authorizer is being bound.scope (
Construct
) – The scope for any constructs created as part of the bind.
- Return type: