When to use AWS CloudfrontWebDistribution and when to use AWS Cloudfront Distribution

Viewed 2189
2 Answers

The AWS CloudFrontWebDistribution is the original method for working with CloudFront distributions. But now, they had implemented a new method that is provided by Distribution. You can use both CloudFrontWebDistribution as well as Distribution for working with CloudFront distributions, but Distribution has a simpler interface and they receive new features faster. So, it is recommended to use Distribution instead of CloudFrontWebDistribution.

You can use CloudFrontWebDistribution unless you're looking to have RTMP (streaming) distribution then you can configure the Distribution

Related