ResponseHeadersPolicy - Amazon CloudFront
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).


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 in the Amazon CloudFront Developer Guide.



The identifier for the response headers policy.

Type: String

Required: Yes


The date and time when the response headers policy was last modified.

Type: Timestamp

Required: Yes


A response headers policy configuration.

Type: ResponseHeadersPolicyConfig object

Required: Yes

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: