Search code examples
amazon-web-servicesaws-api-gatewaychalice

Which type of API gateway does Chalice generates? Regional or Edge-optimized?


I've using AWS Chalice for my projects many times. Recently, one of my clients want to have a custom domain for the API gateway. I checked up the documentation and found out that AWS API gateway endpoints can be either edge-optimized or regional. And we need to follow through different steps for these two types of endpoints.

I went through the AWS Chalice documentation, but I cannot find which type of API endpoints Chalice generates. Is it edge-optimized or regional?


Solution

  • If you've used Chalice many times, you can just check in the AWS Console for the API Gateway endpoint and see the type for yourself. They are created as edge optimized. There is an open issue in GitHub to add support for regional endpoints.