Class: Aws::CloudFront::Types::ResponseHeadersPolicyAccessControlAllowHeaders

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

Overview

Note:

When making an API call, you may pass ResponseHeadersPolicyAccessControlAllowHeaders data as a hash:

{
  quantity: 1, # required
  items: ["string"], # required
}

A list of HTTP header names that CloudFront includes as values for the Access-Control-Allow-Headers HTTP response header.

For more information about the Access-Control-Allow-Headers HTTP response header, see Access-Control-Allow-Headers in the MDN Web Docs.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#itemsArray<String>

The list of HTTP header names. You can specify * to allow all headers.

Returns:

  • (Array<String>)


11457
11458
11459
11460
11461
11462
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 11457

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

#quantityInteger

The number of HTTP header names in the list.

Returns:

  • (Integer)


11457
11458
11459
11460
11461
11462
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 11457

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