Properties
headers
headers: {} | null
httpMethod
httpMethod: string
isBase64Encoded
isBase64Encoded: boolean
multiValueHeaders
multiValueHeaders: {} | null
multiValueQueryStringParameters
multiValueQueryStringParameters: {} | null
pathParameters
pathParameters: {} | null
queryStringParameters
queryStringParameters: {} | null
requestContext
requestContext: { accountId: string; apiId: string; authorizer?: {}; httpMethod: string; identity: { accessKey: string; accountId: string; apiKey: string; apiKeyId: string; caller: string; cognitoAuthenticationProvider: string; cognitoAuthenticationType: string; cognitoIdentityId: string; cognitoIdentityPoolId: string; sourceIp: string; user: string; userAgent: string; userArn: string }; path: string; requestId: string; requestTimeEpoch: number; resourceId: string; resourcePath: string; stage: string }
Type declaration
-
accountId: string
-
apiId: string
-
Optional authorizer?: {}
-
httpMethod: string
-
identity: { accessKey: string; accountId: string; apiKey: string; apiKeyId: string; caller: string; cognitoAuthenticationProvider: string; cognitoAuthenticationType: string; cognitoIdentityId: string; cognitoIdentityPoolId: string; sourceIp: string; user: string; userAgent: string; userArn: string }
-
accessKey: string
-
accountId: string
-
apiKey: string
-
apiKeyId: string
-
caller: string
-
cognitoAuthenticationProvider: string
-
cognitoAuthenticationType: string
-
cognitoIdentityId: string
-
cognitoIdentityPoolId: string
-
sourceIp: string
-
user: string
-
userAgent: string
-
userArn: string
-
path: string
-
requestId: string
-
requestTimeEpoch: number
-
resourceId: string
-
resourcePath: string
-
stage: string
resource
resource: string
stageVariables
stageVariables: {} | null
API Gateway proxy object.
https://docs.aws.amazon.com/apigateway/latest/developerguide/set-up-lambda-proxy-integrations.html#api-gateway-simple-proxy-for-lambda-input-format