@scloud/lambda-local
Version:
Run typical Lambda handlers locally.
6 lines (5 loc) • 306 B
TypeScript
import { APIGatewayProxyEvent, APIGatewayProxyResult, Context } from 'aws-lambda';
export declare function webappLocal(handler: (event: APIGatewayProxyEvent, context: Context) => Promise<APIGatewayProxyResult>, staticContent?: {
sourceDirectory: string;
appPath: string;
}, debug?: boolean): void;