Elastic Load Balancing V1 LBCookieStickinessPolicy
The LBCookieStickinessPolicy type is an embedded property of the AWS::ElasticLoadBalancing::LoadBalancer type.
Syntax
JSON
{ "CookieExpirationPeriod" :
String
, "PolicyName" :String
}
YAML
CookieExpirationPeriod:
String
PolicyName:String
Properties
CookieExpirationPeriod
-
The time period, in seconds, after which the cookie should be considered stale. If this parameter isn't specified, the sticky session will last for the duration of the browser session.
Required: No
Type: String
PolicyName
-
The name of the policy being created. The name must be unique within the set of policies for this load balancer.
Note
To associate this policy with a listener, include the policy name in the listener's PolicyNames property.
See Also
-
Sample template snippets in the Examples section of AWS::ElasticLoadBalancing::LoadBalancer.
-
CreateLBCookieStickinessPolicy in the Elastic Load Balancing API Reference version 2012-06-01