AWS CloudFormation
User Guide (Version )

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

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

On this page: