Class: Aws::CloudFront::Types::ResponseHeadersPolicyCustomHeadersConfig

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

Instance Attribute Details

#itemsArray<Types::ResponseHeadersPolicyCustomHeader>

The list of HTTP response headers and their values.



11987
11988
11989
11990
11991
11992
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 11987

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

#quantityInteger

The number of HTTP response headers in the list.

Returns:

  • (Integer)


11987
11988
11989
11990
11991
11992
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 11987

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