Class: Aws::CloudFront::Types::OriginCustomHeader
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudFront::Types::OriginCustomHeader
- Defined in:
- gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb
Overview
A complex type that contains HeaderName
and HeaderValue
elements,
if any, for this distribution.
Constant Summary collapse
- SENSITIVE =
[:header_value]
Instance Attribute Summary collapse
-
#header_name ⇒ String
The name of a header that you want CloudFront to send to your origin.
-
#header_value ⇒ String
The value for the header that you specified in the
HeaderName
field.
Instance Attribute Details
#header_name ⇒ String
The name of a header that you want CloudFront to send to your origin. For more information, see Adding Custom Headers to Origin Requests in the Amazon CloudFront Developer Guide.
8495 8496 8497 8498 8499 8500 |
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 8495 class OriginCustomHeader < Struct.new( :header_name, :header_value) SENSITIVE = [:header_value] include Aws::Structure end |
#header_value ⇒ String
The value for the header that you specified in the HeaderName
field.
8495 8496 8497 8498 8499 8500 |
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 8495 class OriginCustomHeader < Struct.new( :header_name, :header_value) SENSITIVE = [:header_value] include Aws::Structure end |