Class: Aws::CloudFront::Types::ResponseHeadersPolicyCustomHeader
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudFront::Types::ResponseHeadersPolicyCustomHeader
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-cloudfront/types.rb
Overview
Note:
When making an API call, you may pass ResponseHeadersPolicyCustomHeader data as a hash:
{
header: "string", # required
value: "string", # required
override: false, # required
}
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
-
#header ⇒ String
The HTTP response header name.
-
#override ⇒ Boolean
A Boolean that determines whether CloudFront overrides a response header with the same name received from the origin with the header specified here.
-
#value ⇒ String
The value for the HTTP response header.
Instance Attribute Details
#header ⇒ String
The HTTP response header name.
11964 11965 11966 11967 11968 11969 11970 |
# File 'lib/aws-sdk-cloudfront/types.rb', line 11964 class ResponseHeadersPolicyCustomHeader < Struct.new( :header, :value, :override) SENSITIVE = [] include Aws::Structure end |
#override ⇒ Boolean
A Boolean that determines whether CloudFront overrides a response header with the same name received from the origin with the header specified here.
11964 11965 11966 11967 11968 11969 11970 |
# File 'lib/aws-sdk-cloudfront/types.rb', line 11964 class ResponseHeadersPolicyCustomHeader < Struct.new( :header, :value, :override) SENSITIVE = [] include Aws::Structure end |
#value ⇒ String
The value for the HTTP response header.
11964 11965 11966 11967 11968 11969 11970 |
# File 'lib/aws-sdk-cloudfront/types.rb', line 11964 class ResponseHeadersPolicyCustomHeader < Struct.new( :header, :value, :override) SENSITIVE = [] include Aws::Structure end |