Table of Contents

Interface CfnLoadBalancer.ILBCookieStickinessPolicyProperty

Namespace
Amazon.CDK.AWS.ElasticLoadBalancing
Assembly
Amazon.CDK.AWS.ElasticLoadBalancing.dll

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

public interface CfnLoadBalancer.ILBCookieStickinessPolicyProperty

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"
             };

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

Properties

CookieExpirationPeriod

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

string? CookieExpirationPeriod { get; }

Property Value

string

Remarks

PolicyName

The name of the policy.

string? PolicyName { get; }

Property Value

string

Remarks