Class: Aws::CloudFront::Types::ResponseHeadersPolicyCustomHeader

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb

Overview

An HTTP response header name and its value. CloudFront includes this header 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

#headerString

The HTTP response header name.

Returns:

  • (String)


10111
10112
10113
10114
10115
10116
10117
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 10111

class ResponseHeadersPolicyCustomHeader < Struct.new(
  :header,
  :value,
  :override)
  SENSITIVE = []
  include Aws::Structure
end

#overrideBoolean

A Boolean that determines whether CloudFront overrides a response header with the same name received from the origin with the header specified here.

Returns:

  • (Boolean)


10111
10112
10113
10114
10115
10116
10117
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 10111

class ResponseHeadersPolicyCustomHeader < Struct.new(
  :header,
  :value,
  :override)
  SENSITIVE = []
  include Aws::Structure
end

#valueString

The value for the HTTP response header.

Returns:

  • (String)


10111
10112
10113
10114
10115
10116
10117
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 10111

class ResponseHeadersPolicyCustomHeader < Struct.new(
  :header,
  :value,
  :override)
  SENSITIVE = []
  include Aws::Structure
end