Currently it's very convenient that the API Gateway REST API is created as the EDGE endpoint type. This way the CloudFront distribution is handled by API Gateway.
In a more secure configuration, I would like to create the API as a REGIONAL endpoint and manage the CloudFront distribution myself (outside of Chalice) so I can do things like add WAF on the front-end of requests.
Marking this as a feature request.
Maybe this isn't needed anymore as you can configure WAF directly to API Gateway as described here?
Having the ability to deploy as regional has other advantages such as reduced latency, private api < regional
Any progress on this issue? Latency and security are both concerns for my project. This would address both of those to some extent.
Is there any workaround while this issue is being worked on? This is currently a blocking issue for us.
i've put up a pull request which enables configuring api endpoint type.
Most helpful comment
i've put up a pull request which enables configuring api endpoint type.