Class CfnLoadBalancer.AppCookieStickinessPolicyProperty
Specifies a policy for application-controlled session stickiness for your Classic Load Balancer.
Inherited Members
Namespace: Amazon.CDK.AWS.ElasticLoadBalancing
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnLoadBalancer.AppCookieStickinessPolicyProperty : CfnLoadBalancer.IAppCookieStickinessPolicyProperty
Syntax (vb)
Public Class CfnLoadBalancer.AppCookieStickinessPolicyProperty Implements CfnLoadBalancer.IAppCookieStickinessPolicyProperty
Remarks
To associate a policy with a listener, use the PolicyNames property for the listener.
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 appCookieStickinessPolicyProperty = new AppCookieStickinessPolicyProperty {
CookieName = "cookieName",
PolicyName = "policyName"
};
Synopsis
Constructors
AppCookieStickinessPolicyProperty() | Specifies a policy for application-controlled session stickiness for your Classic Load Balancer. |
Properties
CookieName | The name of the application cookie used for stickiness. |
PolicyName | The mnemonic name for the policy being created. |
Constructors
AppCookieStickinessPolicyProperty()
Specifies a policy for application-controlled session stickiness for your Classic Load Balancer.
public AppCookieStickinessPolicyProperty()
Remarks
To associate a policy with a listener, use the PolicyNames property for the listener.
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 appCookieStickinessPolicyProperty = new AppCookieStickinessPolicyProperty {
CookieName = "cookieName",
PolicyName = "policyName"
};
Properties
CookieName
The name of the application cookie used for stickiness.
public string CookieName { get; set; }
Property Value
Remarks
PolicyName
The mnemonic name for the policy being created.
public string PolicyName { get; set; }
Property Value
Remarks
The name must be unique within a set of policies for this load balancer.