Test image transformations
Test your configuration using the CloudFront distribution created by the solution.
-
Get the CloudFront distribution URL from the CloudFormation stack outputs (
CloudFrontDistributionDomainName). -
Access images using the pattern defined in your mappings:
https://<cloudfront-domain>/<mapping-pattern>/<image-path> -
Example:
https://d1234567890.cloudfront.net/mobile/sample-image.jpg -
The image will be processed according to the transformation policy associated with the matching mapping.