I have a static website on S3 and Cloudfront. I'd like to pass through a value to the static site javascript using a path parameter instead of query parameter.
e.g.
mysupersite.com/123
instead of
mysupersite.com?id=123
How I can configure Cloudfront to use the same static files for any id?