-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(lambda-event-sources): "api" event source (#1742)
Introduce an "api" lambda event source which will implicit create an API Gateway API and connect the resource in the specified path + method to the Lambda target. Added `resourceForPath` which creates a new resource (and all intermediate resources) mounted at a specified path in the API model. Added `getResource` can be used to find a resource by path part. Introduce an abstract `ResourceBase` which is used to share the implementation between the root resource and all other resources. Convert HTTP methods to uppercase.
- Loading branch information
Elad Ben-Israel
authored
Feb 12, 2019
1 parent
642c8a6
commit 5c11680
Showing
11 changed files
with
424 additions
and
43 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.