It is simple tool, which automates the process of copying setup/behaviors between two CloudFront distributions
You need to install awscli and configure it, eg:
pip install awscli --upgrade --user
More details: read more...
usage: aws-cf-copy.py [-h] [--with-error-pages] [-o OUTPUT] [--deploy]
src target
Copy CloudFront behaviors between distributions
positional arguments:
src source CF distribution: id or file://path/to/config.json
target target CF distribution
optional arguments:
-h, --help show this help message and exit
--with-error-pages copy error pages setup
-o OUTPUT output the configuration to a file
--deploy Deploy the changes to the target CloudFront
distribution? It requires output file to be defined in
-o option.
It will ask you to choose the corresponding origins for the target distribution.