

# LBCookieStickinessPolicy


Information about a policy for duration-based session stickiness.

## Contents


 ** CookieExpirationPeriod **   
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.  
Type: Long  
Required: No

 ** PolicyName **   
The name of the policy. This name must be unique within the set of policies for this load balancer.  
Type: String  
Required: No

## See Also


For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/elasticloadbalancing-2012-06-01/LBCookieStickinessPolicy) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/elasticloadbalancing-2012-06-01/LBCookieStickinessPolicy) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/elasticloadbalancing-2012-06-01/LBCookieStickinessPolicy) 