For setting up your Content Delivery Network (CDN) with CloudFront, this support article(link takes you to an external page) provides step-by-step instructions for you to follow.
If you need more information, our blog post(link takes you to an external page) offers a detailed guide on setting up SSL click tracking.