@aws-cdk_aws-apigatewayv2-alpha.WebSocketNoneAuthorizer

class WebSocketNoneAuthorizer 🔹

LanguageType name
.NETAmazon.CDK.AWS.Apigatewayv2.Alpha.WebSocketNoneAuthorizer
Gogithub.com/aws/aws-cdk-go/awscdkapigatewayv2alpha/v2#WebSocketNoneAuthorizer
Javasoftware.amazon.awscdk.services.apigatewayv2.alpha.WebSocketNoneAuthorizer
Pythonaws_cdk.aws_apigatewayv2_alpha.WebSocketNoneAuthorizer
TypeScript (source)@aws-cdk/aws-apigatewayv2-alpha » WebSocketNoneAuthorizer

Implements IWebSocketRouteAuthorizer

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

NameDescription
bind(_options)🔹Bind this authorizer to a specified WebSocket route.

bind(_options)🔹

public bind(_options: WebSocketRouteAuthorizerBindOptions): WebSocketRouteAuthorizerConfig

Parameters

  • _options WebSocketRouteAuthorizerBindOptions

Returns

  • WebSocketRouteAuthorizerConfig

Bind this authorizer to a specified WebSocket route.