@wisegpt/awscdk-slack-event-bus
Version:
Exposes a Slack Events API Request URL that validates and sends all received events to an AWS Event Bus
7 lines (6 loc) • 422 B
TypeScript
import type * as Lambda from "aws-lambda";
export declare abstract class BaseLambda {
protected abstract handle(event: Lambda.APIGatewayProxyEventV2, context: Lambda.Context): Promise<Lambda.APIGatewayProxyResultV2>;
execute(event: Lambda.APIGatewayProxyEventV2, context: Lambda.Context): Promise<Lambda.APIGatewayProxyResultV2>;
}
export declare const createLambdaHandler: (lambda: BaseLambda) => Lambda.Handler;