You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::CloudFront::Types::OriginCustomHeader

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing OriginCustomHeader as input to an Aws::Client method, you can use a vanilla Hash:

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

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

Instance Attribute Summary collapse

Instance Attribute Details

#header_nameString

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 Amazon CloudFront Developer Guide.

Returns:

  • (String)

    The name of a header that you want CloudFront to forward to your origin.

#header_valueString

The value for the header that you specified in the HeaderName field.

Returns:

  • (String)

    The value for the header that you specified in the HeaderName field.