Show / Hide Table of Contents

Class CfnLoadBalancer.LBCookieStickinessPolicyProperty

Specifies a policy for duration-based session stickiness for your Classic Load Balancer.

Inheritance
System.Object
CfnLoadBalancer.LBCookieStickinessPolicyProperty
Implements
CfnLoadBalancer.ILBCookieStickinessPolicyProperty
Namespace: Amazon.CDK.AWS.ElasticLoadBalancing
Assembly: Amazon.CDK.AWS.ElasticLoadBalancing.dll
Syntax (csharp)
public class LBCookieStickinessPolicyProperty : Object, CfnLoadBalancer.ILBCookieStickinessPolicyProperty
Syntax (vb)
Public Class LBCookieStickinessPolicyProperty
    Inherits Object
    Implements CfnLoadBalancer.ILBCookieStickinessPolicyProperty
Remarks

To associate a policy with a listener, use the PolicyNames property for the listener.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-elb-LBCookieStickinessPolicy.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.ElasticLoadBalancing;

var lBCookieStickinessPolicyProperty = new LBCookieStickinessPolicyProperty {
    CookieExpirationPeriod = "cookieExpirationPeriod",
    PolicyName = "policyName"
};

Synopsis

Constructors

LBCookieStickinessPolicyProperty()

Properties

CookieExpirationPeriod

The time period, in seconds, after which the cookie should be considered stale.

PolicyName

The name of the policy.

Constructors

LBCookieStickinessPolicyProperty()

public LBCookieStickinessPolicyProperty()

Properties

CookieExpirationPeriod

The time period, in seconds, after which the cookie should be considered stale.

public string CookieExpirationPeriod { get; set; }
Property Value

System.String

Remarks

If this parameter is not specified, the stickiness session lasts for the duration of the browser session.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-elb-LBCookieStickinessPolicy.html#cfn-elb-lbcookiestickinesspolicy-cookieexpirationperiod

PolicyName

The name of the policy.

public string PolicyName { get; set; }
Property Value

System.String

Remarks

This name must be unique within the set of policies for this load balancer.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-elb-LBCookieStickinessPolicy.html#cfn-elb-lbcookiestickinesspolicy-policyname

Implements

CfnLoadBalancer.ILBCookieStickinessPolicyProperty
Back to top Generated by DocFX