Class: Aws::CloudFront::Types::ResponseHeadersPolicyAccessControlAllowHeaders
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudFront::Types::ResponseHeadersPolicyAccessControlAllowHeaders
- Includes:
- Structure
- Defined in:
- 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.
[1]: developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Headers
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#items ⇒ Array<String>
The list of HTTP header names.
-
#quantity ⇒ Integer
The number of HTTP header names in the list.
Instance Attribute Details
#items ⇒ Array<String>
The list of HTTP header names. You can specify `*` to allow all headers.
11457 11458 11459 11460 11461 11462 |
# File 'lib/aws-sdk-cloudfront/types.rb', line 11457 class ResponseHeadersPolicyAccessControlAllowHeaders < Struct.new( :quantity, :items) SENSITIVE = [] include Aws::Structure end |
#quantity ⇒ Integer
The number of HTTP header names in the list.
11457 11458 11459 11460 11461 11462 |
# File 'lib/aws-sdk-cloudfront/types.rb', line 11457 class ResponseHeadersPolicyAccessControlAllowHeaders < Struct.new( :quantity, :items) SENSITIVE = [] include Aws::Structure end |