mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-24 05:06:02 +08:00
adding property authorizer to APIGatewayEvent
This commit is contained in:
@@ -69,6 +69,7 @@ var cloudformationCustomResourceResponse: AWSLambda.CloudFormationCustomResource
|
||||
/* API Gateway Event request context */
|
||||
str = apiGwEvtReqCtx.accountId;
|
||||
str = apiGwEvtReqCtx.apiId;
|
||||
authResponseContext = apiGwEvtReqCtx.authorizer;
|
||||
str = apiGwEvtReqCtx.httpMethod;
|
||||
str = apiGwEvtReqCtx.identity.accessKey;
|
||||
str = apiGwEvtReqCtx.identity.accountId;
|
||||
|
||||
1
types/aws-lambda/index.d.ts
vendored
1
types/aws-lambda/index.d.ts
vendored
@@ -16,6 +16,7 @@
|
||||
interface APIGatewayEventRequestContext {
|
||||
accountId: string;
|
||||
apiId: string;
|
||||
authorizer?: AuthResponseContext | null | undefined;
|
||||
httpMethod: string;
|
||||
identity: {
|
||||
accessKey: string | null;
|
||||
|
||||
Reference in New Issue
Block a user