Hi@akhtar,
You can find one module named cloudfront_distribution in Ansible. This module will allow you to create a distribution in AWS. You can see the below example.
- cloudfront_distribution:
state: present
default_origin_domain_name: www.my-cloudfront-origin.com
tags:
Name: example distribution
Project: example project
Priority: '1'