Show / Hide Table of Contents

Class CfnContinuousDeploymentPolicy.SessionStickinessConfigProperty

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

Inheritance
object
CfnContinuousDeploymentPolicy.SessionStickinessConfigProperty
Implements
CfnContinuousDeploymentPolicy.ISessionStickinessConfigProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.CloudFront
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnContinuousDeploymentPolicy.SessionStickinessConfigProperty : CfnContinuousDeploymentPolicy.ISessionStickinessConfigProperty
Syntax (vb)
Public Class CfnContinuousDeploymentPolicy.SessionStickinessConfigProperty Implements CfnContinuousDeploymentPolicy.ISessionStickinessConfigProperty
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-sessionstickinessconfig.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 sessionStickinessConfigProperty = new SessionStickinessConfigProperty {
                 IdleTtl = 123,
                 MaximumTtl = 123
             };

Synopsis

Constructors

SessionStickinessConfigProperty()

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

Properties

IdleTtl

The amount of time after which you want sessions to cease if no requests are received.

MaximumTtl

The maximum amount of time to consider requests from the viewer as being part of the same session.

Constructors

SessionStickinessConfigProperty()

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

public SessionStickinessConfigProperty()
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-sessionstickinessconfig.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 sessionStickinessConfigProperty = new SessionStickinessConfigProperty {
                 IdleTtl = 123,
                 MaximumTtl = 123
             };

Properties

IdleTtl

The amount of time after which you want sessions to cease if no requests are received.

public double IdleTtl { get; set; }
Property Value

double

Remarks

Allowed values are 300–3600 seconds (5–60 minutes).

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

MaximumTtl

The maximum amount of time to consider requests from the viewer as being part of the same session.

public double MaximumTtl { get; set; }
Property Value

double

Remarks

Allowed values are 300–3600 seconds (5–60 minutes).

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

Implements

CfnContinuousDeploymentPolicy.ISessionStickinessConfigProperty
Back to top Generated by DocFX