Skip to content

CloudFront  >  Structures  >  ContinuousDeploymentSingleHeaderConfig

ContinuousDeploymentSingleHeaderConfig

Structure Class

ContinuousDeploymentSingleHeaderConfig dataclass

Bases: _SerdeShape

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.

Attributes

header instance-attribute
header: str

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

value instance-attribute
value: str

The request header value.