From 84e98e45c1e09ab2daec7fc337cb0c271b92ad79 Mon Sep 17 00:00:00 2001 From: Jonathan Spies Date: Tue, 10 Oct 2017 13:49:56 -0500 Subject: [PATCH] update docs to reflect multiple identity sources: --- docs/providers/aws/events/apigateway.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/providers/aws/events/apigateway.md b/docs/providers/aws/events/apigateway.md index 8ee5aad0c..4b7c11b65 100644 --- a/docs/providers/aws/events/apigateway.md +++ b/docs/providers/aws/events/apigateway.md @@ -314,8 +314,7 @@ functions: identityValidationExpression: someRegex ``` -You can also use the Request Type Authorizer by setting the `type` property. In this case, you -do not need the `identitySource` +You can also use the Request Type Authorizer by setting the `type` property. In this case, your `identitySource` could contain multiple entries for you policy cache. ```yml functions: @@ -328,6 +327,7 @@ functions: authorizer: arn: xxx:xxx:Lambda-Name resultTtlInSeconds: 0 + identitySource: method.request.header.Authorization, context.identity.sourceIp identityValidationExpression: someRegex type: request ```