interface WebSocketRouteIntegrationBindOptions
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Apigatewayv2.WebSocketRouteIntegrationBindOptions |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsapigatewayv2#WebSocketRouteIntegrationBindOptions |
Java | software.amazon.awscdk.services.apigatewayv2.WebSocketRouteIntegrationBindOptions |
Python | aws_cdk.aws_apigatewayv2.WebSocketRouteIntegrationBindOptions |
TypeScript (source) | aws-cdk-lib » aws_apigatewayv2 » WebSocketRouteIntegrationBindOptions |
Options to the WebSocketRouteIntegration during its bind operation.
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';
import * as constructs from 'constructs';
declare const construct: constructs.Construct;
declare const webSocketRoute: apigatewayv2.WebSocketRoute;
const webSocketRouteIntegrationBindOptions: apigatewayv2.WebSocketRouteIntegrationBindOptions = {
route: webSocketRoute,
scope: construct,
};
Properties
| Name | Type | Description |
|---|---|---|
| route | IWeb | The route to which this is being bound. |
| scope | Construct | The current scope in which the bind is occurring. |
route
Type:
IWeb
The route to which this is being bound.
scope
Type:
Construct
The current scope in which the bind is occurring.
If the WebSocketRouteIntegration being bound creates additional constructs,
this will be used as their parent scope.

.NET
Go
Java
Python
TypeScript (