@aws-cdk_aws-apigatewayv2-alpha.WebSocketRouteIntegrationBindOptions
interface WebSocketRouteIntegrationBindOptions
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Apigatewayv2.Alpha.WebSocketRouteIntegrationBindOptions |
![]() | github.com/aws/aws-cdk-go/awscdkapigatewayv2alpha/v2#WebSocketRouteIntegrationBindOptions |
![]() | software.amazon.awscdk.services.apigatewayv2.alpha.WebSocketRouteIntegrationBindOptions |
![]() | aws_cdk.aws_apigatewayv2_alpha.WebSocketRouteIntegrationBindOptions |
![]() | @aws-cdk/aws-apigatewayv2-alpha ยป 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 * 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 webSocketRouteIntegrationBindOptions: apigatewayv2_alpha.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.