Skip to content

CloudFront  >  Structures  >  TrafficConfig

TrafficConfig

Structure Class

TrafficConfig dataclass

Bases: _SerdeShape

The traffic configuration of your continuous deployment.

Attributes

single_header_config class-attribute instance-attribute
single_header_config: ContinuousDeploymentSingleHeaderConfig | None = ...

Determines which HTTP requests are sent to the staging distribution.

single_weight_config class-attribute instance-attribute
single_weight_config: ContinuousDeploymentSingleWeightConfig | None = ...

Contains the percentage of traffic to send to the staging distribution.

type instance-attribute
type: str

The type of traffic configuration.