Class: Aws::CloudFront::Types::OriginCustomHeader
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudFront::Types::OriginCustomHeader
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-cloudfront/types.rb
Overview
Note:
When making an API call, you may pass OriginCustomHeader data as a hash:
{
header_name: "string", # required
header_value: "string", # required
}
A complex type that contains ‘HeaderName` and `HeaderValue` elements, if any, for this distribution.
Instance Attribute Summary collapse
-
#header_name ⇒ String
The name of a header that you want CloudFront to forward 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 forward to your origin. For more information, see [Forwarding Custom Headers to Your Origin (Web Distributions Only)] in the Amazon CloudFront Developer Guide.
[1]: docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/forward-custom-headers.html
6321 6322 6323 6324 6325 |
# File 'lib/aws-sdk-cloudfront/types.rb', line 6321 class OriginCustomHeader < Struct.new( :header_name, :header_value) include Aws::Structure end |
#header_value ⇒ String
The value for the header that you specified in the ‘HeaderName` field.
6321 6322 6323 6324 6325 |
# File 'lib/aws-sdk-cloudfront/types.rb', line 6321 class OriginCustomHeader < Struct.new( :header_name, :header_value) include Aws::Structure end |