AWS::CloudFront::Distribution OriginCustomHeader - 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::Distribution OriginCustomHeader

A complex type that contains HeaderName and HeaderValue elements, if any, for this distribution.

Syntax

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

JSON

{ "HeaderName" : String, "HeaderValue" : String }

YAML

HeaderName: String HeaderValue: String

Properties

HeaderName

The name of a header that you want CloudFront to send to your origin. For more information, see Adding Custom Headers to Origin Requests in the Amazon CloudFront Developer Guide.

Required: Yes

Type: String

Update requires: No interruption

HeaderValue

The value for the header that you specified in the HeaderName field.

Required: Yes

Type: String

Update requires: No interruption

See also