Table of Contents

Class CfnLoadBalancer.AppCookieStickinessPolicyProperty

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

Specifies a policy for application-controlled session stickiness for your Classic Load Balancer.

public class CfnLoadBalancer.AppCookieStickinessPolicyProperty : CfnLoadBalancer.IAppCookieStickinessPolicyProperty
Inheritance
CfnLoadBalancer.AppCookieStickinessPolicyProperty
Implements
Inherited Members

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 appCookieStickinessPolicyProperty = new AppCookieStickinessPolicyProperty {
                 CookieName = "cookieName",
                 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-AppCookieStickinessPolicy.html

ExampleMetadata: fixture=_generated

Constructors

AppCookieStickinessPolicyProperty()

public AppCookieStickinessPolicyProperty()

Properties

CookieName

The name of the application cookie used for stickiness.

public string CookieName { get; set; }

Property Value

string

Remarks

PolicyName

The mnemonic name for the policy being created.

public string PolicyName { get; set; }

Property Value

string

Remarks