CreateAppCookieStickinessPolicy
GET /?Action=CreateAppCookieStickinessPolicy
Description
Creates a stickiness policy with sticky session lifetimes following the one of an application-generated cookie.
The created policy can be used only with HTTP listeners.
Unlike policies created using the CreateLBCookieStickinessPolicy method, the lifetime of the special Load Balancer Unit cookie follows the lifetime of the application-generated cookie specified in the policy configuration. The load balancer inserts a new stickiness cookie only when the application response includes a new application cookie.
The session stops being sticky if the application cookie is removed or expires, until a new application cookie is issued.
Body parameter
Required: false
Name: CreateAppCookieStickinessPolicyInput
Name | Description | Required | Schema | Default | Example |
---|---|---|---|---|---|
CookieName |
The name of the application cookie used for stickiness. |
true |
string |
||
LoadBalancerName |
The name of the load balancer. |
true |
string |
||
PolicyName |
The unique name of the policy (alphanumeric characters and dashes (-)). |
true |
string |
Responses
HTTP Code 200
HTTP Code | Description | Schema |
---|---|---|
200 |
CreateAppCookieStickinessPolicyOutput |
Name | Description | Required | Schema | Default | Example |
---|---|---|---|---|---|
ResponseMetadata |
Information about the response. |
false |