---
title: "GET /2020-05-31/cache-policy/{Id}/config"
method: GET
path: "/2020-05-31/cache-policy/{Id}/config"
---

# GET /2020-05-31/cache-policy/{Id}/config

`GET /2020-05-31/cache-policy/{Id}/config`

Gets a cache policy configuration.

To get a cache policy configuration, you must provide the policy's identifier. If the cache policy is attached to a distribution's cache behavior, you can get the policy's identifier using `ListDistributions` or `GetDistribution`. If the cache policy is not attached to a cache behavior, you can get the identifier using `ListCachePolicies`.

## Path parameters

- `Id` string, required

## Response `200`

Success

## Other responses

- `480` — AccessDenied
- `481` — NoSuchCachePolicy

---

[API](https://skmtc.net/aws/apis/cloudfront.md) · [All operations](https://skmtc.net/aws/apis/cloudfront/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/cloudfront/versions/fd674fc97471/schema)
