Class: Aws::CloudFront::Types::ContinuousDeploymentSingleHeaderConfig

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

Overview

This configuration determines which HTTP requests are sent to the staging distribution. If the HTTP request contains a header and value that matches what you specify here, the request is sent to the staging distribution. Otherwise the request is sent to the primary distribution.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#headerString

The request header name that you want CloudFront to send to your staging distribution. The header must contain the prefix ‘aws-cf-cd-`.

Returns:

  • (String)


1661
1662
1663
1664
1665
1666
# File 'lib/aws-sdk-cloudfront/types.rb', line 1661

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

#valueString

The request header value.

Returns:

  • (String)


1661
1662
1663
1664
1665
1666
# File 'lib/aws-sdk-cloudfront/types.rb', line 1661

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