cloudfront:CopyDistribution

Write

cloudfront:CopyDistribution is a Write access-level action in the cloudfront service. Grants permission to copy an existing distribution and create a new web distribution

Resource types

ARNs that cloudfront:CopyDistribution can be scoped to in an IAM policy.

arn:${Partition}:cloudfront::${Account}:distribution/${DistributionId}
distribution

Condition keys

Keys you can use in the Condition block of a policy that grants cloudfront:CopyDistribution.

aws:ResourceTag/${TagKey} String

Filters access by tag key-value pairs attached to the resource

Dependent actions

To use cloudfront:CopyDistribution you may also need to grant:

Example IAM policy

A minimal policy that allows cloudfront:CopyDistribution. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowCloudfrontCopyDistribution",
      "Effect": "Allow",
      "Action": "cloudfront:CopyDistribution",
      "Resource": "*"
    }
  ]
}

Related actions in cloudfront

View all cloudfront actions →