cloudfront:UpdateCachePolicy

Write

cloudfront:UpdateCachePolicy is a Write access-level action in the cloudfront service. Grants permission to update a cache policy

Resource types

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

arn:${Partition}:cloudfront::${Account}:cache-policy/${Id}
cache-policy

Condition keys

No condition keys are documented for this action.

Example IAM policy

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

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

Related actions in cloudfront

View all cloudfront actions →