response_headers_policies_list_only
Lists response_headers_policies
in a region or regions, for all properties use response_headers_policies
Overview
Name | response_headers_policies_list_only |
Type | Resource |
Description | A 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*. |
Id | aws.cloudfront.response_headers_policies_list_only |
Fields
Name | Datatype | Description |
---|---|---|
id | string | |
region | string | AWS region. |
Methods
Name | Accessible by | Required Params |
---|---|---|
list_resources | SELECT | region |
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