LambdaWebSocketIntegration

class aws_cdk.aws_apigatewayv2_integrations.LambdaWebSocketIntegration(*, handler)

Bases: object

(experimental) Lambda WebSocket Integration.

Stability

experimental

Parameters

handler (IFunction) – (experimental) The handler for this integration.

Stability

experimental

Methods

bind(*, route, scope)

(experimental) (experimental) Bind this integration to the route.

Parameters
  • route (IWebSocketRoute) – (experimental) The route to which this is being bound.

  • scope (Construct) – (experimental) 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.

Stability

experimental

Return type

WebSocketRouteIntegrationConfig