forked from pulumi/examples
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix API Gateway endpoint, permissions and throttling for aws-py-apiga…
…teway-serverless. (pulumi#1282) - Proxy API Gateway REST endpoints require the {proxy+} on the address. Without this a missing token error occurs. - Add a trailing forward slash ('/') to the API Gateway HTTP endpoint so it can be directly invoked. Without this slash a 404 error occurs. - Add same lambda invoke permissions for HTTP endpoint that REST endpoint has. - API Gateway HTTP endpoints throttle all requests if no throttling config is provided, so set a reasonably low (but non-zero) throttling config. - Update README with how to test the endpoints.
- Loading branch information
1 parent
11bfc26
commit bfdab97
Showing
2 changed files
with
35 additions
and
5 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