C# Class Amazon.ElasticLoadBalancing.Model.CreateAppCookieStickinessPolicyRequest

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, AWSELB, 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.

For more information, see Application-Controlled Session Stickiness in the Classic Load Balancers Guide.

Inheritance: AmazonElasticLoadBalancingRequest
ファイルを表示 Open project: aws/aws-sdk-net Class Usage Examples

Public Methods

Method Description
CreateAppCookieStickinessPolicyRequest ( ) : System

Empty constructor used to set properties independently even when a simple constructor is available

CreateAppCookieStickinessPolicyRequest ( string loadBalancerName, string policyName, string cookieName ) : System

Instantiates CreateAppCookieStickinessPolicyRequest with the parameterized properties

Private Methods

Method Description
IsSetCookieName ( ) : bool
IsSetLoadBalancerName ( ) : bool
IsSetPolicyName ( ) : bool

Method Details

CreateAppCookieStickinessPolicyRequest() public method

Empty constructor used to set properties independently even when a simple constructor is available
public CreateAppCookieStickinessPolicyRequest ( ) : System
return System

CreateAppCookieStickinessPolicyRequest() public method

Instantiates CreateAppCookieStickinessPolicyRequest with the parameterized properties
public CreateAppCookieStickinessPolicyRequest ( string loadBalancerName, string policyName, string cookieName ) : System
loadBalancerName string The name of the load balancer.
policyName string The name of the policy being created. Policy names must consist of alphanumeric characters and dashes (-). This name must be unique within the set of policies for this load balancer.
cookieName string The name of the application cookie used for stickiness.
return System