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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-cloudfront/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)


1504
1505
1506
1507
1508
1509
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 1504

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

#valueString

The request header value.

Returns:

  • (String)


1504
1505
1506
1507
1508
1509
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 1504

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