AWS::ElasticLoadBalancing::LoadBalancer LBCookieStickinessPolicy
Specifies a policy for duration-based session stickiness for your Classic Load Balancer.
To associate a policy with a listener, use the PolicyNames property for the listener.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "CookieExpirationPeriod" :
String
, "PolicyName" :String
}
YAML
CookieExpirationPeriod:
String
PolicyName:String
Properties
-
The time period, in seconds, after which the cookie should be considered stale. If this parameter is not specified, the stickiness session lasts for the duration of the browser session.
Required: No
Type: String
Update requires: No interruption
-
The name of the policy. This name must be unique within the set of policies for this load balancer.
Required: No
Type: String
Update requires: No interruption
See also
-
CreateLBCookieStickinessPolicy in the Elastic Load Balancing API Reference (version 2012-06-01)
-
Sticky Sessions in the User Guide for Classic Load Balancers