@aws-cdk_aws-apigatewayv2-integrations-alpha.WebSocketMockIntegration

class WebSocketMockIntegration 🔹

LanguageType name
.NETAmazon.CDK.AWS.Apigatewayv2.Integrations.Alpha.WebSocketMockIntegration
Gogithub.com/aws/aws-cdk-go/awscdkapigatewayv2integrationsalpha/v2#WebSocketMockIntegration
Javasoftware.amazon.awscdk.services.apigatewayv2.integrations.alpha.WebSocketMockIntegration
Pythonaws_cdk.aws_apigatewayv2_integrations_alpha.WebSocketMockIntegration
TypeScript (source)@aws-cdk/aws-apigatewayv2-integrations-alpha » WebSocketMockIntegration

Extends WebSocketRouteIntegration

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

NameDescription
bind(options)🔹Bind this integration to the route.

bind(options)🔹

public bind(options: WebSocketRouteIntegrationBindOptions): WebSocketRouteIntegrationConfig

Parameters

  • options WebSocketRouteIntegrationBindOptions

Returns

  • WebSocketRouteIntegrationConfig

Bind this integration to the route.