class Aws::CloudFront::Types::OriginCustomHeader

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

@note When making an API call, you may pass OriginCustomHeader

data as a hash:

    {
      header_name: "string", # required
      header_value: "string", # required
    }

@!attribute [rw] header_name

The name of a header that you want CloudFront to send to your
origin. For more information, see [Adding Custom Headers to Origin
Requests][1] in the <i> Amazon CloudFront Developer Guide</i>.

[1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/forward-custom-headers.html
@return [String]

@!attribute [rw] header_value

The value for the header that you specified in the `HeaderName`
field.
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/OriginCustomHeader AWS API Documentation

Constants

SENSITIVE