CmdID / aws / aws cloudfront
aws cloudfront copy-distribution
Creates a staging distribution using the configuration of the provided primary distribution. AWS CLI reference
5 options Its page in the AWS CLI reference
Options
--caller-referenceA value that uniquely identifies a request to create a resource.--enabledA Boolean flag to specify the state of the staging distribution when it's created.--if-matchThe version identifier of the primary distribution whose configuration you are copying.--primary-distribution-idThe identifier of the primary distribution whose configuration you are copying.--stagingThe type of distribution that your primary distribution will be copied to.