TrafficConfig - Amazon CloudFront
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

TrafficConfig

The traffic configuration of your continuous deployment.

Contents

Type

The type of traffic configuration.

Type: String

Valid Values: SingleWeight | SingleHeader

Required: Yes

SingleHeaderConfig

Determines which HTTP requests are sent to the staging distribution.

Type: ContinuousDeploymentSingleHeaderConfig object

Required: No

SingleWeightConfig

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

Type: ContinuousDeploymentSingleWeightConfig object

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: