Show / Hide Table of Contents

Class CfnContinuousDeploymentPolicyPropsMixin.SingleWeightConfigProperty

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

Inheritance
object
CfnContinuousDeploymentPolicyPropsMixin.SingleWeightConfigProperty
Implements
CfnContinuousDeploymentPolicyPropsMixin.ISingleWeightConfigProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.Mixins.Preview.AWS.CloudFront.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnContinuousDeploymentPolicyPropsMixin.SingleWeightConfigProperty : CfnContinuousDeploymentPolicyPropsMixin.ISingleWeightConfigProperty
Syntax (vb)
Public Class CfnContinuousDeploymentPolicyPropsMixin.SingleWeightConfigProperty Implements CfnContinuousDeploymentPolicyPropsMixin.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.Mixins.Preview.AWS.CloudFront.Mixins;

             var singleWeightConfigProperty = new SingleWeightConfigProperty {
                 SessionStickinessConfig = new SessionStickinessConfigProperty {
                     IdleTtl = 123,
                     MaximumTtl = 123
                 },
                 Weight = 123
             };

Synopsis

Constructors

SingleWeightConfigProperty()

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

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.

Constructors

SingleWeightConfigProperty()

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

public SingleWeightConfigProperty()
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.Mixins.Preview.AWS.CloudFront.Mixins;

             var singleWeightConfigProperty = new SingleWeightConfigProperty {
                 SessionStickinessConfig = new SessionStickinessConfigProperty {
                     IdleTtl = 123,
                     MaximumTtl = 123
                 },
                 Weight = 123
             };

Properties

SessionStickinessConfig

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

public object? SessionStickinessConfig { get; set; }
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 CfnContinuousDeploymentPolicyPropsMixin.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.

public double? Weight { get; set; }
Property Value

double?

Remarks

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

Implements

CfnContinuousDeploymentPolicyPropsMixin.ISingleWeightConfigProperty
Back to top Generated by DocFX