api

http4k / org.http4k.serverless / ApplicationLoadBalancerLambdaFunction

ApplicationLoadBalancerLambdaFunction

abstract class ApplicationLoadBalancerLambdaFunction : AwsLambdaFunction<Map<String, Any>, Map<String, Any>>, RequestHandler<Map<String, Any>, Map<String, Any>>

This is the main entry point for lambda invocations coming from an Application LoadBalancer. It uses the local environment to instantiate the HttpHandler which can be used for further invocations.

Constructors

Name Summary
<init> ApplicationLoadBalancerLambdaFunction(input: AppLoader)
ApplicationLoadBalancerLambdaFunction(input: HttpHandler)
This is the main entry point for lambda invocations coming from an Application LoadBalancer. It uses the local environment to instantiate the HttpHandler which can be used for further invocations.ApplicationLoadBalancerLambdaFunction(appLoader: AppLoaderWithContexts)

Functions

Name Summary
handleRequest open fun handleRequest(req: Map<String, Any>, ctx: Context): Map<String, Any>

Inheritors

Name Summary
TestFunctionAlb class TestFunctionAlb : ApplicationLoadBalancerLambdaFunction