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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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.

[1]: developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Expose-Headers

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>)

11585
11586
11587
11588
11589
11590
# File 'lib/aws-sdk-cloudfront/types.rb', line 11585

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

#quantityInteger

The number of HTTP headers in the list.

Returns:

  • (Integer)

11585
11586
11587
11588
11589
11590
# File 'lib/aws-sdk-cloudfront/types.rb', line 11585

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