AWS SDK for .NET Documentation
CreateAppCookieStickinessPolicyRequest Class
AmazonAmazon.ElasticLoadBalancing.ModelCreateAppCookieStickinessPolicyRequest Did this page help you?   Yes   No    Tell us about it...
Container for the parameters to the CreateAppCookieStickinessPolicy operation.

Generates a stickiness policy with sticky session lifetimes that follow that of an application-generated cookie. This policy can be associated only with HTTP/HTTPS listeners.

This policy is similar to the policy created by CreateLBCookieStickinessPolicy, except that the lifetime of the special Elastic Load Balancing cookie follows the lifetime of the application-generated cookie specified in the policy configuration. The load balancer only inserts a new stickiness cookie when the application response includes a new application cookie.

If the application cookie is explicitly removed or expires, the session stops being sticky until a new application cookie is issued.

NOTE: An application client must receive and send two cookies: the application-generated cookie and the special Elastic Load Balancing cookie named AWSELB. This is the default behavior for many common web browsers.

For more information, see Enabling Application-Controlled Session Stickiness in the Elastic Load Balancing Developer Guide .

Declaration Syntax
C#
public class CreateAppCookieStickinessPolicyRequest : AmazonWebServiceRequest
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
CreateAppCookieStickinessPolicyRequest()()()()
Default constructor for a new CreateAppCookieStickinessPolicyRequest object. Callers should use the properties or fluent setter (With...) methods to initialize this object after creating it.

CreateAppCookieStickinessPolicyRequest(String, String, String)
Constructs a new CreateAppCookieStickinessPolicyRequest object. Callers should use the properties or fluent setter (With...) methods to initialize any additional object members.

CookieName
Name of the application cookie used for stickiness.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the type of the current instance.
(Inherited from Object.)
LoadBalancerName
The name of the load balancer.

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

ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
WithCookieName(String) Obsolete.
Sets the CookieName property

WithLoadBalancerName(String) Obsolete.
Sets the LoadBalancerName property

WithPolicyName(String) Obsolete.
Sets the PolicyName property

Inheritance Hierarchy
Object
AmazonWebServiceRequest
 CreateAppCookieStickinessPolicyRequest
See Also

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)