@aws-cdk_aws-apigatewayv2-integrations-alpha.WebSocketMockIntegration
class WebSocketMockIntegration
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Apigatewayv2.Integrations.Alpha.WebSocketMockIntegration |
![]() | github.com/aws/aws-cdk-go/awscdkapigatewayv2integrationsalpha/v2#WebSocketMockIntegration |
![]() | software.amazon.awscdk.services.apigatewayv2.integrations.alpha.WebSocketMockIntegration |
![]() | aws_cdk.aws_apigatewayv2_integrations_alpha.WebSocketMockIntegration |
![]() | @aws-cdk/aws-apigatewayv2-integrations-alpha » WebSocketMockIntegration |
Extends
Web
Mock WebSocket Integration.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as apigatewayv2_integrations_alpha from '@aws-cdk/aws-apigatewayv2-integrations-alpha';
const webSocketMockIntegration = new apigatewayv2_integrations_alpha.WebSocketMockIntegration('id');
Initializer
new WebSocketMockIntegration(id: string)
Parameters
- id
string
— id of the underlying integration construct.
Methods
Name | Description |
---|---|
bind(options) | Bind this integration to the route. |
bind(options)
public bind(options: WebSocketRouteIntegrationBindOptions): WebSocketRouteIntegrationConfig
Parameters
Returns
Bind this integration to the route.