@aws-cdk_aws-apigatewayv2-alpha.WebSocketNoneAuthorizer
class WebSocketNoneAuthorizer
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Apigatewayv2.Alpha.WebSocketNoneAuthorizer |
![]() | github.com/aws/aws-cdk-go/awscdkapigatewayv2alpha/v2#WebSocketNoneAuthorizer |
![]() | software.amazon.awscdk.services.apigatewayv2.alpha.WebSocketNoneAuthorizer |
![]() | aws_cdk.aws_apigatewayv2_alpha.WebSocketNoneAuthorizer |
![]() | @aws-cdk/aws-apigatewayv2-alpha » 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 * as apigatewayv2_alpha from '@aws-cdk/aws-apigatewayv2-alpha';
const webSocketNoneAuthorizer = new apigatewayv2_alpha.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.