http4k / org.http4k.serverless / ApiGatewayV2LambdaFunction
abstract class ApiGatewayV2LambdaFunction :
AwsLambdaFunction
<
Map
<
String
,
Any
>,
Map
<
String
,
Any
>>, RequestHandler<
Map
<
String
,
Any
>,
Map
<
String
,
Any
>>
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.
Name | Summary |
---|---|
<init> | ApiGatewayV2LambdaFunction(input: AppLoader ) ApiGatewayV2LambdaFunction(input: HttpHandler ) 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. ApiGatewayV2LambdaFunction(appLoader: AppLoaderWithContexts ) |
Name | Summary |
---|---|
handleRequest | open fun handleRequest(req: Map < String , Any >, ctx: Context): Map < String , Any > |
Name | Summary |
---|---|
TestFunctionV2 | class TestFunctionV2 : ApiGatewayV2LambdaFunction |