You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::CloudFront::Types::CustomHeaders
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudFront::Types::CustomHeaders
- Defined in:
- (unknown)
Overview
Note:
When passing CustomHeaders as input to an Aws::Client method, you can use a vanilla Hash:
{
quantity: 1, # required
items: [
{
header_name: "string", # required
header_value: "string", # required
},
],
}
A complex type that contains the list of Custom Headers for each origin.
Returned by:
Instance Attribute Summary collapse
-
#items ⇒ Array<Types::OriginCustomHeader>
Optional: A list that contains one
OriginCustomHeader
element for each custom header that you want CloudFront to forward to the origin. -
#quantity ⇒ Integer
The number of custom headers, if any, for this distribution.
Instance Attribute Details
#items ⇒ Array<Types::OriginCustomHeader>
Optional: A list that contains one OriginCustomHeader
element for
each custom header that you want CloudFront to forward to the origin. If
Quantity is 0
, omit Items
.
#quantity ⇒ Integer
The number of custom headers, if any, for this distribution.