Created
August 13, 2019 00:23
-
-
Save davetownsend/2609711f7a5d0e7243a348899527edd5 to your computer and use it in GitHub Desktop.
apigw auth config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
exampleData: | |
handler: example.getExample | |
events: | |
- http: | |
path: /${self:provider.apiname}/read | |
method: get | |
authorizer: | |
name: auth | |
identitySource: method.request.header.Authorization | |
identityValidationExpression: ^Bearer [-0-9a-zA-z\.]*$ | |
resultTtlInSeconds: 0 | |
cors: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment