AWS::CloudFront::ContinuousDeploymentPolicy SingleWeightPolicyConfig
Configure a policy that CloudFront uses to route requests to different origins or use different cache settings, based on the weight assigned to each option.
Note
This property is legacy. We recommend that you use TrafficConfig and specify the SingleWeightConfig property instead.
Syntax
To declare this entity in your Amazon CloudFormation template, use the following syntax:
JSON
{ "SessionStickinessConfig" :
SessionStickinessConfig
, "Weight" :Number
}
YAML
SessionStickinessConfig:
SessionStickinessConfig
Weight:Number
Properties
SessionStickinessConfig
-
Enable session stickiness for the associated origin or cache settings.
Required: No
Type: SessionStickinessConfig
Update requires: No interruption
Weight
-
The percentage of requests that CloudFront will use to send to an associated origin or cache settings.
Required: Yes
Type: Number
Minimum:
0
Maximum:
1
Update requires: No interruption