API Gateway (APIG), while it uses CloudFront (CF) it does not support CDN edge caching. When I configured a CF distribution to use APIG as the custom origin, I get a permiss
Adding to previous answers:
it's important that behavior path pattern is actually something that matches "real" path.
If API endpoint is
And origin domain + path is
Behavior path pattern has to be my-api, my-api/*, my-api/something, etc
I don't know why, but I thought that path pattern can be used as alias, for example:
https://www.example.com/random-name (path pattern random-name) resolves to domain + path set in origin, e.g .
That's not the case.