Gets an origin request policy, including the following metadata:
The policy<U+2019>s identifier.
The date and time when the policy was last modified.
To get an origin request policy, you must provide the policy<U+2019>s
identifier. If the origin request 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 origin request policy
is not attached to a cache behavior, you can get the identifier using
ListOriginRequestPolicies
.
cloudfront_get_origin_request_policy(Id)
[required] The unique identifier for the origin request policy. If the origin
request 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 origin request policy is not attached to a
cache behavior, you can get the identifier using
ListOriginRequestPolicies
.
svc$get_origin_request_policy( Id = "string" )