CloudFront Response Headers Policy

CloudFront Response Headers Policy in AWS defines a set of HTTP headers that CloudFront automatically adds to responses it delivers to viewers. This allows you to control security headers, CORS settings, and custom headers consistently across your distributions without modifying the origin. It helps improve security, compliance, and performance by standardizing response behavior.

aws.cloudfront_response_headers_policy

Fields

TitleIDTypeData TypeDescription
_keycorestring
account_idcorestring
e_tagcorestringThe version identifier for the current version of the response headers policy.
response_headers_policycorejsonContains a response headers policy.
tagscorehstore