How to create a DNS in Cloudflare to point to Cloudfront?

My images are hosted on a S3 bucket. When I change my encryption to Full, they don’t load. So I created a Cloudfront distribution for this S3 bucket. Then I created a CNAME to load images.mydomain.com to the Cloudfront domain. But it didn’t work.

That being said, how can I create a DNS on Cloudflare to point to a Cloudfront url?