Reputation: 5
My API endpoint type is edge-optimized. I have a custom domain name API like www.example.com
and I want to add a new CloudFront which to block specific countries request in front of my API Gateway.
How to add a new CloudFront in front of my API Gateway and use the same domain name (www.example.com)? I am confused. Is it possible to do that?
Any advice will be appreciated.
Upvotes: 0
Views: 720
Reputation: 1024
Yes it is possible to do that. You should follow the following steps.
See the following documentation for further reference.
Upvotes: 2