AWS SDK Version 2 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

.NET Framework 4.5
 
Information about a policy for duration-based session stickiness.

Inheritance Hierarchy

System.Object
  Amazon.ElasticLoadBalancing.Model.LBCookieStickinessPolicy

Namespace: Amazon.ElasticLoadBalancing.Model
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public class LBCookieStickinessPolicy : Object

The LBCookieStickinessPolicy type exposes the following members

Constructors

NameDescription
Public Method LBCookieStickinessPolicy() Empty constructor used to set properties independently even when a simple constructor is available
Public Method LBCookieStickinessPolicy(string, Int64) Instantiates LBCookieStickinessPolicy with the parameterized properties

Properties

NameTypeDescription
Public Property CookieExpirationPeriod System.Int64 Gets and sets the property 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.

Public Property PolicyName System.String Gets and sets the property PolicyName.

The name for the policy being created. The name must be unique within the set of policies for this load balancer.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

.NET for Windows Store apps:
Supported in: Windows 8.1, Windows 8

.NET for Windows Phone:
Supported in: Windows Phone 8.1, Windows Phone 8