Skip to main content
Version: 11.x

Function: awsLambdaRequestHandler()

awsLambdaRequestHandler<TRouter, TEvent, TResult>(opts): (event, context) => Promise< TResult >

Type parameters

Parameter
TRouter extends Router< AnyRouterDef< AnyRootConfig >, TRouter >
TEvent extends APIGatewayEvent
TResult extends APIGatewayProxyResult | APIGatewayProxyStructuredResultV2

Parameters

ParameterType
optsAWSLambdaOptions< TRouter, TEvent >

Returns

(event, context): Promise< TResult >

Parameters

ParameterType
eventTEvent
contextAPIGWContext

Returns

Promise< TResult >

Source

packages/server/src/adapters/aws-lambda/index.ts:103


Generated using TypeDoc and typedoc-plugin-markdown