Skip to main content

cache_policy

Gets an individual cache_policy resource

Overview

Namecache_policy
TypeResource
Descriptioncache_policy
Idawscc.cloudfront.cache_policy

Fields

NameDatatypeDescription
cache_policy_configobject
idstring
last_modified_timestring
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
cache_policy_config,
id,
last_modified_time
FROM awscc.cloudfront.cache_policy
WHERE data__Identifier = '<Id>';

Permissions

To operate on the cache_policy resource, the following permissions are required:

Delete

cloudfront:DeleteCachePolicy,
cloudfront:GetCachePolicy

Read

cloudfront:GetCachePolicy

Update

cloudfront:UpdateCachePolicy,
cloudfront:GetCachePolicy