TrafficConfig - Amazon CloudFront
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

TrafficConfig

The traffic configuration of your continuous deployment.

Contents

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

Type

The type of traffic configuration.

Type: String

Valid Values: SingleWeight | SingleHeader

Required: Yes

See Also

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