Skip to main content

response_headers_policies_list_only

Lists response_headers_policies in a region or regions, for all properties use response_headers_policies

Overview

Nameresponse_headers_policies_list_only
TypeResource
DescriptionA response headers policy.
A response headers policy contains information about a set of HTTP response headers.
After you create a response headers policy, you can use its ID to attach it to one or more cache behaviors in a CloudFront distribution. When it's attached to a cache behavior, the response headers policy affects the HTTP headers that CloudFront includes in HTTP responses to requests that match the cache behavior. CloudFront adds or removes response headers according to the configuration of the response headers policy.
For more information, see [Adding or removing HTTP headers in CloudFront responses](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/modifying-response-headers.html) in the *Amazon CloudFront Developer Guide*.
Idaws.cloudfront.response_headers_policies_list_only

Fields

NameDatatypeDescription
idstring
regionstringAWS region.

Methods

NameAccessible byRequired Params
list_resourcesSELECTregion

SELECT examples

Lists all response_headers_policies in a region.

SELECT
region,
id
FROM aws.cloudfront.response_headers_policies_list_only
;

Permissions

For permissions required to operate on the response_headers_policies_list_only resource, see response_headers_policies