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

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

Syntax

To declare this entity in your 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