AwsLambdaRuntime

class AwsLambdaRuntime(env: Map<String, String> = System.getenv(), http: HttpHandler = JavaHttpClient()) : ServerlessConfig<Context> (source)

Controls the function execution loop. Continues to process events to this function until either it encounters an operational error or AWS terminates the runtime.

Constructors

Link copied to clipboard
constructor(env: Map<String, String> = System.getenv(), http: HttpHandler = JavaHttpClient())

Functions

Link copied to clipboard
open override fun asServer(fn: FnLoader<Context>): Http4kServer