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)


1508
1509
1510
1511
1512
1513
# File 'lib/aws-sdk-cloudfront/types.rb', line 1508

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

#valueString

The request header value.

Returns:

  • (String)


1508
1509
1510
1511
1512
1513
# File 'lib/aws-sdk-cloudfront/types.rb', line 1508

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