AWS::CloudFront::ResponseHeadersPolicy CustomHeader - AWS CloudFormation
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.

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 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