Learn R Programming

paws.networking (version 0.1.11)

cloudfront_get_origin_request_policy_config: Gets an origin request policy configuration

Description

Gets an origin request policy configuration.

To get an origin request policy configuration, 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 list_distributions or get_distribution. If the origin request policy is not attached to a cache behavior, you can get the identifier using list_origin_request_policies.

Usage

cloudfront_get_origin_request_policy_config(Id)

Arguments

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 list_distributions or get_distribution. If the origin request policy is not attached to a cache behavior, you can get the identifier using list_origin_request_policies.

Value

A list with the following syntax:

list(
  OriginRequestPolicyConfig = list(
    Comment = "string",
    Name = "string",
    HeadersConfig = list(
      HeaderBehavior = "none"|"whitelist"|"allViewer"|"allViewerAndWhitelistCloudFront",
      Headers = list(
        Quantity = 123,
        Items = list(
          "string"
        )
      )
    ),
    CookiesConfig = list(
      CookieBehavior = "none"|"whitelist"|"all",
      Cookies = list(
        Quantity = 123,
        Items = list(
          "string"
        )
      )
    ),
    QueryStringsConfig = list(
      QueryStringBehavior = "none"|"whitelist"|"all",
      QueryStrings = list(
        Quantity = 123,
        Items = list(
          "string"
        )
      )
    )
  ),
  ETag = "string"
)

Request syntax

svc$get_origin_request_policy_config(
  Id = "string"
)