Optional
body
body?: string
Optional
cookies
cookies?: string[]
headers: APIGatewayProxyEventHeaders
isBase64Encoded
isBase64Encoded: boolean
Optional
pathParameters
pathParameters?: APIGatewayProxyEventPathParameters
Optional
queryStringParameters
queryStringParameters?: APIGatewayProxyEventQueryStringParameters
rawQueryString
rawQueryString: string
requestContext
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
stageVariables
stageVariables?: APIGatewayProxyEventStageVariables
supertokens
supertokens: {
response: {
cookies: string[];
headers: {
allowDuplicateKey: boolean;
key: string;
value: string | number | boolean;
}[];
};
}