cloudfront:GetCachePolicyConfig

Read

cloudfront:GetCachePolicyConfig is a Read access-level action in the cloudfront service. Grants permission to get the cache policy configuration

Resource types

ARNs that cloudfront:GetCachePolicyConfig 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:GetCachePolicyConfig. Replace "Resource": "*" with a specific ARN to follow least privilege.

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

Related actions in cloudfront

View all cloudfront actions →