Show / Hide Table of Contents

Interface CfnContinuousDeploymentPolicy.ISingleWeightConfigProperty

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

Namespace: Amazon.CDK.AWS.CloudFront
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnContinuousDeploymentPolicy.ISingleWeightConfigProperty
Syntax (vb)
Public Interface CfnContinuousDeploymentPolicy.ISingleWeightConfigProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-continuousdeploymentpolicy-singleweightconfig.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.CloudFront;

             var singleWeightConfigProperty = new SingleWeightConfigProperty {
                 Weight = 123,

                 // the properties below are optional
                 SessionStickinessConfig = new SessionStickinessConfigProperty {
                     IdleTtl = 123,
                     MaximumTtl = 123
                 }
             };

Synopsis

Properties

SessionStickinessConfig

Session stickiness provides the ability to define multiple requests from a single viewer as a single session.

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.

Properties

SessionStickinessConfig

Session stickiness provides the ability to define multiple requests from a single viewer as a single session.

object? SessionStickinessConfig { get; }
Property Value

object

Remarks

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.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-continuousdeploymentpolicy-singleweightconfig.html#cfn-cloudfront-continuousdeploymentpolicy-singleweightconfig-sessionstickinessconfig

Type union: either IResolvable or CfnContinuousDeploymentPolicy.ISessionStickinessConfigProperty

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.

double Weight { get; }
Property Value

double

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-continuousdeploymentpolicy-singleweightconfig.html#cfn-cloudfront-continuousdeploymentpolicy-singleweightconfig-weight

Back to top Generated by DocFX