aws-cdk-lib
Version:
Version 2 of the AWS Cloud Development Kit library
17 lines (16 loc) • 698 B
TypeScript
import { WebSocketRouteIntegration, WebSocketRouteIntegrationBindOptions, WebSocketRouteIntegrationConfig } from '../../../aws-apigatewayv2';
import { IFunction } from '../../../aws-lambda';
/**
* Lambda WebSocket Integration
*/
export declare class WebSocketLambdaIntegration extends WebSocketRouteIntegration {
private readonly handler;
private readonly _id;
/**
* @param id id of the underlying integration construct
* @param handler the Lambda function handler
* @param props properties to configure the integration
*/
constructor(id: string, handler: IFunction);
bind(options: WebSocketRouteIntegrationBindOptions): WebSocketRouteIntegrationConfig;
}