AWS::CloudFront::ResponseHeadersPolicy CustomHeader - Amazon CloudFormation
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).

AWS::CloudFront::ResponseHeadersPolicy CustomHeader

An HTTP response header name and its value. CloudFront includes this header in HTTP responses that it sends for requests that match a cache behavior that's associated with this response headers policy.

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

{ "Header" : String, "Override" : Boolean, "Value" : String }

YAML

Header: String Override: Boolean Value: String

Properties

Header

The HTTP response header name.

Required: Yes

Type: String

Update requires: No interruption

Override

A Boolean that determines whether CloudFront overrides a response header with the same name received from the origin with the header specified here.

Required: Yes

Type: Boolean

Update requires: No interruption

Value

The value for the HTTP response header.

Required: Yes

Type: String

Update requires: No interruption