CmdID / aws / aws cloudfront
aws cloudfront list-distributions-by-cache-policy-id
Gets a list of distribution IDs for distributions that have a cache behavior that's associated with the specified cache policy. AWS CLI reference
3 options Its page in the AWS CLI reference
Options
--cache-policy-idThe ID of the cache policy whose associated distribution IDs you want to list.--markerUse this field when paginating results to indicate where to begin in your list of distribution IDs.--max-itemsThe maximum number of distribution IDs that you want in the response.