Menu
AWS CloudFormation
User Guide (API Version 2010-05-15)

CloudFront DistributionConfig Origin OriginCustomHeader

OriginCustomHeader is a property of the Amazon CloudFront Origin property that specifies the custom headers CloudFront includes when it forwards requests to your origin.

Syntax

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

JSON

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

YAML

Copy
HeaderName: String HeaderValue: String

Properties

HeaderName

The name of a header that CloudFront forwards to your origin. For more information, see Forwarding Custom Headers to Your Origin (Web Distributions Only) in the Amazon CloudFront Developer Guide.

Required: Yes

Type: String

HeaderValue

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

Required: Yes

Type: String