class WebSocketNoneAuthorizer
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Apigatewayv2.WebSocketNoneAuthorizer |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsapigatewayv2#WebSocketNoneAuthorizer |
Java | software.amazon.awscdk.services.apigatewayv2.WebSocketNoneAuthorizer |
Python | aws_cdk.aws_apigatewayv2.WebSocketNoneAuthorizer |
TypeScript (source) | aws-cdk-lib » aws_apigatewayv2 » WebSocketNoneAuthorizer |
Implements
IWeb
Explicitly configure no authorizers on specific WebSocket API routes.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_apigatewayv2 as apigatewayv2 } from 'aws-cdk-lib';
const webSocketNoneAuthorizer = new apigatewayv2.WebSocketNoneAuthorizer();
Initializer
new WebSocketNoneAuthorizer()
Methods
Name | Description |
---|---|
bind(_options) | Bind this authorizer to a specified WebSocket route. |
bind(_options)
public bind(_options: WebSocketRouteAuthorizerBindOptions): WebSocketRouteAuthorizerConfig
Parameters
- _options
Web
Socket Route Authorizer Bind Options
Returns
Bind this authorizer to a specified WebSocket route.