WebSocketNoneAuthorizer
- class aws_cdk.aws_apigatewayv2.WebSocketNoneAuthorizer
Bases:
object
Explicitly configure no authorizers on specific WebSocket API routes.
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_apigatewayv2 as apigatewayv2 web_socket_none_authorizer = apigatewayv2.WebSocketNoneAuthorizer()
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: