@aws-cdk_aws-apigatewayv2-alpha.WebSocketRouteAuthorizerBindOptions

interface WebSocketRouteAuthorizerBindOptions ๐Ÿ”น

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

Input to the bind() operation, that binds an authorizer to a route.

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';
import * as constructs from 'constructs';

declare const construct: constructs.Construct;
declare const webSocketRoute: apigatewayv2_alpha.WebSocketRoute;
const webSocketRouteAuthorizerBindOptions: apigatewayv2_alpha.WebSocketRouteAuthorizerBindOptions = {
  route: webSocketRoute,
  scope: construct,
};

Properties

NameTypeDescription
route๐Ÿ”นIWebSocketRouteThe route to which the authorizer is being bound.
scope๐Ÿ”นConstructThe scope for any constructs created as part of the bind.

route๐Ÿ”น

Type: IWebSocketRoute

The route to which the authorizer is being bound.


scope๐Ÿ”น

Type: Construct

The scope for any constructs created as part of the bind.