Creates a CloudFront response headers policy with custom headers configuration.

Terraform Template

resource "aws_cloudfront_response_headers_policy" "example" {

  custom_headers_config {

    items {
      header = "X-Permitted-Cross-Domain-Policies"
      override = true
      value = "none"
    }

    items {
      header = "X-Test"
      override = true
      value = "none"
    }
  }
  name = "example-headers-policy"
}