---
title: Getting Started with Datadog
description: Datadog, the leading service for cloud-scale monitoring.
breadcrumbs: Docs > Infrastructure > Datadog Resource Catalog
---

# aws_cloudfront_origin_request_policy{% #aws_cloudfront_origin_request_policy %}

## `account_id`{% #account_id %}

**Type**: `STRING`

## `e_tag`{% #e_tag %}

**Type**: `STRING`**Provider name**: `ETag`**Description**: The current version of the origin request policy.

## `origin_request_policy`{% #origin_request_policy %}

**Type**: `STRUCT`**Provider name**: `OriginRequestPolicy`**Description**: The origin request policy.

- `id`**Type**: `STRING`**Provider name**: `Id`**Description**: The unique identifier for the origin request policy.
- `last_modified_time`**Type**: `TIMESTAMP`**Provider name**: `LastModifiedTime`**Description**: The date and time when the origin request policy was last modified.
- `origin_request_policy_config`**Type**: `STRUCT`**Provider name**: `OriginRequestPolicyConfig`**Description**: The origin request policy configuration.
  - `comment`**Type**: `STRING`**Provider name**: `Comment`**Description**: A comment to describe the origin request policy. The comment cannot be longer than 128 characters.
  - `cookies_config`**Type**: `STRUCT`**Provider name**: `CookiesConfig`**Description**: The cookies from viewer requests to include in origin requests.
    - `cookie_behavior`**Type**: `STRING`**Provider name**: `CookieBehavior`**Description**: Determines whether cookies in viewer requests are included in requests that CloudFront sends to the origin. Valid values are:
      - `none` – No cookies in viewer requests are included in requests that CloudFront sends to the origin. Even when this field is set to `none`, any cookies that are listed in a `CachePolicy` are included in origin requests.
      - `whitelist` – Only the cookies in viewer requests that are listed in the `CookieNames` type are included in requests that CloudFront sends to the origin.
      - `all` – All cookies in viewer requests are included in requests that CloudFront sends to the origin.
      - `allExcept` – All cookies in viewer requests are included in requests that CloudFront sends to the origin, except for those listed in the `CookieNames` type, which are not included.
    - `cookies`**Type**: `STRUCT`**Provider name**: `Cookies`
      - `items`**Type**: `UNORDERED_LIST_STRING`**Provider name**: `Items`**Description**: A list of cookie names.
      - `quantity`**Type**: `INT32`**Provider name**: `Quantity`**Description**: The number of cookie names in the `Items` list.
  - `headers_config`**Type**: `STRUCT`**Provider name**: `HeadersConfig`**Description**: The HTTP headers to include in origin requests. These can include headers from viewer requests and additional headers added by CloudFront.
    - `header_behavior`**Type**: `STRING`**Provider name**: `HeaderBehavior`**Description**: Determines whether any HTTP headers are included in requests that CloudFront sends to the origin. Valid values are:
      - `none` – No HTTP headers in viewer requests are included in requests that CloudFront sends to the origin. Even when this field is set to `none`, any headers that are listed in a `CachePolicy` are included in origin requests.
      - `whitelist` – Only the HTTP headers that are listed in the `Headers` type are included in requests that CloudFront sends to the origin.
      - `allViewer` – All HTTP headers in viewer requests are included in requests that CloudFront sends to the origin.
      - `allViewerAndWhitelistCloudFront` – All HTTP headers in viewer requests and the additional CloudFront headers that are listed in the `Headers` type are included in requests that CloudFront sends to the origin. The additional headers are added by CloudFront.
      - `allExcept` – All HTTP headers in viewer requests are included in requests that CloudFront sends to the origin, except for those listed in the `Headers` type, which are not included.
    - `headers`**Type**: `STRUCT`**Provider name**: `Headers`
      - `items`**Type**: `UNORDERED_LIST_STRING`**Provider name**: `Items`**Description**: A list of HTTP header names.
      - `quantity`**Type**: `INT32`**Provider name**: `Quantity`**Description**: The number of header names in the `Items` list.
  - `name`**Type**: `STRING`**Provider name**: `Name`**Description**: A unique name to identify the origin request policy.
  - `query_strings_config`**Type**: `STRUCT`**Provider name**: `QueryStringsConfig`**Description**: The URL query strings from viewer requests to include in origin requests.
    - `query_string_behavior`**Type**: `STRING`**Provider name**: `QueryStringBehavior`**Description**: Determines whether any URL query strings in viewer requests are included in requests that CloudFront sends to the origin. Valid values are:
      - `none` – No query strings in viewer requests are included in requests that CloudFront sends to the origin. Even when this field is set to `none`, any query strings that are listed in a `CachePolicy` are included in origin requests.
      - `whitelist` – Only the query strings in viewer requests that are listed in the `QueryStringNames` type are included in requests that CloudFront sends to the origin.
      - `all` – All query strings in viewer requests are included in requests that CloudFront sends to the origin.
      - `allExcept` – All query strings in viewer requests are included in requests that CloudFront sends to the origin, except for those listed in the `QueryStringNames` type, which are not included.
    - `query_strings`**Type**: `STRUCT`**Provider name**: `QueryStrings`**Description**: Contains the specific query strings in viewer requests that either are or are not included in requests that CloudFront sends to the origin. The behavior depends on whether the `QueryStringBehavior` field in the `OriginRequestPolicyQueryStringsConfig` type is set to `whitelist` (the listed query strings are included) or `allExcept` (the listed query strings are not included, but all other query strings are).
      - `items`**Type**: `UNORDERED_LIST_STRING`**Provider name**: `Items`**Description**: A list of query string names.
      - `quantity`**Type**: `INT32`**Provider name**: `Quantity`**Description**: The number of query string names in the `Items` list.

## `tags`{% #tags %}

**Type**: `UNORDERED_LIST_STRING`
