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
- Struct
- Aws::CloudFront::Types::OriginCustomHeader
- 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
-
#header_name ⇒ String
The name of a header that you want CloudFront to send to your origin.
-
#header_value ⇒ String
The value for the header that you specified in the
HeaderName
field.
Instance Attribute Details
#header_name ⇒ String
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.
#header_value ⇒ String
The value for the header that you specified in the HeaderName
field.