AWS::CloudFront::ContinuousDeploymentPolicy SingleWeightConfig - 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 SingleWeightConfig

This configuration determines the percentage of HTTP requests that are sent to the staging distribution.

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

Properties

SessionStickinessConfig

Session stickiness provides the ability to define multiple requests from a single viewer as a single session. This prevents the potentially inconsistent experience of sending some of a given user's requests to your staging distribution, while others are sent to your primary distribution. Define the session duration using TTL values.

Required: No

Type: SessionStickinessConfig

Update requires: No interruption

Weight

The percentage of traffic to send to a staging distribution, expressed as a decimal number between 0 and 0.15. For example, a value of 0.10 means 10% of traffic is sent to the staging distribution.

Required: Yes

Type: Number

Minimum: 0

Maximum: 1

Update requires: No interruption