api

http4k / org.http4k.serverless / ApiGatewayV2LambdaFunction / <init>

<init>

ApiGatewayV2LambdaFunction(input: AppLoader) ApiGatewayV2LambdaFunction(input: HttpHandler)ApiGatewayV2LambdaFunction(appLoader: AppLoaderWithContexts)

This is the main entry point for lambda invocations using the V2 payload format. It uses the local environment to instantiate the HttpHandler which can be used for further invocations.