Skip to content
tRPC

Partners

Type Alias: CreateAWSLambdaContextOptions<TEvent>

On this page

CreateAWSLambdaContextOptions<TEvent>: object

Defined in: packages/server/src/adapters/aws-lambda/index.ts:32

What createContext gets in the AWS Lambda adapter: the event, the Lambda context and the request's info.

Type Parameters

Type Parameter
TEvent extends LambdaEvent

Type declaration

context

context: APIGWContext

The Lambda invocation's context.

event

event: TEvent

The API Gateway or function URL event.

info

info: TRPCRequestInfo

See

https://trpc.io/docs/server/adapters/aws-lambda#2-create-a-trpc-router