Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/lambda/types.d.ts>APIGatewayProxyEventV2

A deno runtime for AWS Lambda. Deploy deno via docker, SAM, serverless, or bundle it yourself.
Go to Latest
interface APIGatewayProxyEventV2
import { type APIGatewayProxyEventV2 } from "https://deno.land/x/lambda@1.45.1/types.d.ts";

Works with HTTP API integration Payload Format version 2.0

Properties

version: string
routeKey: string
rawPath: string
rawQueryString: string
optional
cookies: string[]
optional
queryStringParameters: APIGatewayProxyEventQueryStringParameters
requestContext: { accountId: string; apiId: string; authorizer?: { jwt: { claims: { [name: string]:
| string
| number
| boolean
| string[]
; }; scopes: string[]; }; }; domainName: string; domainPrefix: string; http: { method: string; path: string; protocol: string; sourceIp: string; userAgent: string; }; requestId: string; routeKey: string; stage: string; time: string; timeEpoch: number; }
optional
body: string
optional
pathParameters: APIGatewayProxyEventPathParameters
isBase64Encoded: boolean
optional
stageVariables: APIGatewayProxyEventStageVariables