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
-
OriginCustomHeader in the Amazon CloudFront API Reference