requestContext
requestContext: { accountId: string; apiId: string; authorizer?: { jwt: { claims: {}; 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 }
Type declaration
-
accountId: string
-
apiId: string
-
Optional authorizer?: { jwt: { claims: {}; scopes: string[] } }
-
jwt: { claims: {}; scopes: string[] }
-
claims: {}
-
[name: string]: string | number | boolean | string[]
-
scopes: string[]
-
domainName: string
-
domainPrefix: string
-
http: { method: string; path: string; protocol: string; sourceIp: string; userAgent: string }
-
method: string
-
path: string
-
protocol: string
-
sourceIp: string
-
userAgent: string
-
requestId: string
-
routeKey: string
-
stage: string
-
time: string
-
timeEpoch: number
Works with HTTP API integration Payload Format version 2.0