I\'m trying to host a static site in S3 with ability to handle some dynamic content using Lambda/Api Gateway. Can\'t seem to be able to do that.
I want URLs to look like this:>
You can configure this by putting a CloudFront distribution in front of both the API Gateway API and the S3 bucket for static content. This would also allow you to take advantage of CloudFront's edge caching.