Learn R Programming

paws.networking (version 0.1.10)

cloudfront_get_cache_policy: Gets a cache policy, including the following metadata: - The policy<U+2019>s identifier

Description

Gets a cache policy, including the following metadata:

  • The policy<U+2019>s identifier.

  • The date and time when the policy was last modified.

To get a cache policy, you must provide the policy<U+2019>s identifier. If the cache policy is attached to a distribution<U+2019>s cache behavior, you can get the policy<U+2019>s identifier using ListDistributions or GetDistribution. If the cache policy is not attached to a cache behavior, you can get the identifier using ListCachePolicies.

Usage

cloudfront_get_cache_policy(Id)

Arguments

Id

[required] The unique identifier for the cache policy. If the cache policy is attached to a distribution<U+2019>s cache behavior, you can get the policy<U+2019>s identifier using ListDistributions or GetDistribution. If the cache policy is not attached to a cache behavior, you can get the identifier using ListCachePolicies.

Request syntax

svc$get_cache_policy(
  Id = "string"
)