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).


The traffic configuration of your continuous deployment.



The type of traffic configuration.

Type: String

Valid Values: SingleWeight | SingleHeader

Required: Yes


Determines which HTTP requests are sent to the staging distribution.

Type: ContinuousDeploymentSingleHeaderConfig object

Required: No


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 Amazon SDKs, see the following: