Skip to content

Cerces


Cerces / adapters/aws-lambda / createHandler

Function: createHandler()

createHandler(app): Promise<(event, context) => Promise<APIGatewayProxyResult>>

Defined in: src/adapters/aws-lambda.ts:138

Creates a handler function for AWS Lambda that integrates with the provided App instance.

Parameters

app

App

The App instance to handle incoming requests.

Returns

Promise<(event, context) => Promise<APIGatewayProxyResult>>

A handler function for AWS Lambda.