AWS::CloudFront::ContinuousDeploymentPolicy TrafficConfig
The traffic configuration of your continuous deployment.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "SingleHeaderConfig" :
SingleHeaderConfig
, "SingleWeightConfig" :SingleWeightConfig
, "Type" :String
}
YAML
SingleHeaderConfig:
SingleHeaderConfig
SingleWeightConfig:SingleWeightConfig
Type:String
Properties
SingleHeaderConfig
-
Determines which HTTP requests are sent to the staging distribution.
Required: No
Type: SingleHeaderConfig
Update requires: No interruption
SingleWeightConfig
-
Contains the percentage of traffic to send to the staging distribution.
Required: No
Type: SingleWeightConfig
Update requires: No interruption
Type
-
The type of traffic configuration.
Required: Yes
Type: String
Allowed values:
SingleWeight | SingleHeader
Update requires: No interruption