Class: Aws::CloudFront::Types::CustomHeaders
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudFront::Types::CustomHeaders
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-cloudfront/types.rb
Overview
Note:
When making an API call, you may pass CustomHeaders data as a 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.
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`.
2195 2196 2197 2198 2199 |
# File 'lib/aws-sdk-cloudfront/types.rb', line 2195 class CustomHeaders < Struct.new( :quantity, :items) include Aws::Structure end |
#quantity ⇒ Integer
The number of custom headers, if any, for this distribution.
2195 2196 2197 2198 2199 |
# File 'lib/aws-sdk-cloudfront/types.rb', line 2195 class CustomHeaders < Struct.new( :quantity, :items) include Aws::Structure end |