interface AppCookieStickinessPolicyProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.ElasticLoadBalancing.CfnLoadBalancer.AppCookieStickinessPolicyProperty |
Java | software.amazon.awscdk.services.elasticloadbalancing.CfnLoadBalancer.AppCookieStickinessPolicyProperty |
Python | aws_cdk.aws_elasticloadbalancing.CfnLoadBalancer.AppCookieStickinessPolicyProperty |
TypeScript | @aws-cdk/aws-elasticloadbalancing » CfnLoadBalancer » AppCookieStickinessPolicyProperty |
Specifies a policy for application-controlled session stickiness for your Classic Load Balancer.
To associate a policy with a listener, use the PolicyNames property for the listener.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as elb from '@aws-cdk/aws-elasticloadbalancing';
const appCookieStickinessPolicyProperty: elb.CfnLoadBalancer.AppCookieStickinessPolicyProperty = {
cookieName: 'cookieName',
policyName: 'policyName',
};
Properties
Name | Type | Description |
---|---|---|
cookie | string | The name of the application cookie used for stickiness. |
policy | string | The mnemonic name for the policy being created. |
cookieName
Type:
string
The name of the application cookie used for stickiness.
policyName
Type:
string
The mnemonic name for the policy being created.
The name must be unique within a set of policies for this load balancer.