-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for builtin API Gateway authorizers
Chalice currently supports IAM, Cognito, and Custom authorizers. The custom authorizer allows you to define a lambda function which contains custom authorization logic specific for your use case. Previously, you'd have to create your lambda authorizer function out of band from your chalice app. We just provided an API to associated your custom authorizer with certain views. This change adds support for a "built in authorizer", which allows you to create custom authorizers that are defined within your chalice app. When you run "chalice deploy" we'll automatically create and associate the authorizer for you, but we'll also create the lambda function associated with the authorizer. This introduces new concepts in chalice including multi lambda function support. We now have an API handler (the existing lambda function) as well as auth handlers.
- Loading branch information
Showing
20 changed files
with
1,324 additions
and
121 deletions.
There are no files selected for viewing
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
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
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
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
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
Oops, something went wrong.