update docs to reflect multiple identity sources:

This commit is contained in:
Jonathan Spies 2017-10-10 13:49:56 -05:00
parent 1f086cfa14
commit 84e98e45c1

View File

@ -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
```