

# OriginCustomHeader
<a name="API_OriginCustomHeader"></a>

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

## Contents
<a name="API_OriginCustomHeader_Contents"></a>

 ** HeaderName **   <a name="cloudfront-Type-OriginCustomHeader-HeaderName"></a>
The name of a header that you want CloudFront to send to your origin. For more information, see [Adding Custom Headers to Origin Requests](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/forward-custom-headers.html) in the * Amazon CloudFront Developer Guide*.  
Type: String  
Required: Yes

 ** HeaderValue **   <a name="cloudfront-Type-OriginCustomHeader-HeaderValue"></a>
The value for the header that you specified in the `HeaderName` field.  
Type: String  
Required: Yes

## See Also
<a name="API_OriginCustomHeader_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudfront-2020-05-31/OriginCustomHeader) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudfront-2020-05-31/OriginCustomHeader) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudfront-2020-05-31/OriginCustomHeader) 