AWS::CloudFront::ResponseHeadersPolicy CustomHeader - AWS CloudFormation

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