'AWS CloudFront rewrite response body

Is it possible to edit/patch/update the response body served by AWS CloudFront? I want to distribute XML that contains URLs that should be updated for every viewer request. If not - any recommendation on how to accomplish this task in AWS infrastructure?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source