Class: Aws::CloudFront::Types::ResponseHeadersPolicyAccessControlExposeHeaders

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 ResponseHeadersPolicyAccessControlExposeHeaders data as a hash:

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

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

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#itemsArray<String>

The list of HTTP headers. You can specify * to expose all headers.

Returns:

  • (Array<String>)


11593
11594
11595
11596
11597
11598
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 11593

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

#quantityInteger

The number of HTTP headers in the list.

Returns:

  • (Integer)


11593
11594
11595
11596
11597
11598
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 11593

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