import { APIGatewayEvent , Context } from 'aws-lambda' ; import * as awsExpress from 'aws-serverless-express' ; import { server } from "./lib/infrastructure/webserver/Server" ; const expressServer = awsExpress . createServer ( server ) ; export function handler ( event , context ? ) { awsExpress . proxy ( expressServer , event , context ) ; }