Merge pull request #21276 from daniel-cottone/aws-lambda-add-authorizer-to-apigatewayevent

[aws-lambda] Adding property authorizer to APIGatewayEvent
This commit is contained in:
Daniel Rosenwasser
2017-11-12 00:52:14 -08:00
committed by GitHub
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -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
View File
@@ -16,6 +16,7 @@
interface APIGatewayEventRequestContext {
accountId: string;
apiId: string;
authorizer?: AuthResponseContext | null | undefined;
httpMethod: string;
identity: {
accessKey: string | null;