Class: Aws::CloudFront::Types::ResponseHeadersPolicyCustomHeadersConfig
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudFront::Types::ResponseHeadersPolicyCustomHeadersConfig
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-cloudfront/types.rb
Overview
Note:
When making an API call, you may pass ResponseHeadersPolicyCustomHeadersConfig data as a hash:
{
quantity: 1, # required
items: [
{
header: "string", # required
value: "string", # required
override: false, # required
},
],
}
A list of HTTP response header names and their values. CloudFront includes these headers in HTTP responses that it sends for requests that match a cache behavior that’s associated with this response headers policy.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#items ⇒ Array<Types::ResponseHeadersPolicyCustomHeader>
The list of HTTP response headers and their values.
-
#quantity ⇒ Integer
The number of HTTP response headers in the list.
Instance Attribute Details
#items ⇒ Array<Types::ResponseHeadersPolicyCustomHeader>
The list of HTTP response headers and their values.
12001 12002 12003 12004 12005 12006 |
# File 'lib/aws-sdk-cloudfront/types.rb', line 12001 class ResponseHeadersPolicyCustomHeadersConfig < Struct.new( :quantity, :items) SENSITIVE = [] include Aws::Structure end |
#quantity ⇒ Integer
The number of HTTP response headers in the list.
12001 12002 12003 12004 12005 12006 |
# File 'lib/aws-sdk-cloudfront/types.rb', line 12001 class ResponseHeadersPolicyCustomHeadersConfig < Struct.new( :quantity, :items) SENSITIVE = [] include Aws::Structure end |