Class: Aws::CloudFront::Types::CustomHeaders

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb

Overview

A complex type that contains the list of Custom Headers for each origin.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

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.

Returns:



3708
3709
3710
3711
3712
3713
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 3708

class CustomHeaders < Struct.new(
  :quantity,
  :items)
  SENSITIVE = []
  include Aws::Structure
end

#quantity ⇒ Integer

The number of custom headers, if any, for this distribution.

Returns:

  • (Integer)


3708
3709
3710
3711
3712
3713
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 3708

class CustomHeaders < Struct.new(
  :quantity,
  :items)
  SENSITIVE = []
  include Aws::Structure
end