AWS::CloudFront::ContinuousDeploymentPolicy SingleWeightPolicyConfig - Amazon CloudFormation
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).

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:

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