Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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 Elastic Load Balancing Developer Guide.
See: AWS API Reference for CreateAppCookieStickinessPolicy.
- createAppCookieStickinessPolicy :: Text -> Text -> Text -> CreateAppCookieStickinessPolicy
- data CreateAppCookieStickinessPolicy
- cacspLoadBalancerName :: Lens' CreateAppCookieStickinessPolicy Text
- cacspPolicyName :: Lens' CreateAppCookieStickinessPolicy Text
- cacspCookieName :: Lens' CreateAppCookieStickinessPolicy Text
- createAppCookieStickinessPolicyResponse :: Int -> CreateAppCookieStickinessPolicyResponse
- data CreateAppCookieStickinessPolicyResponse
- cacsprsStatus :: Lens' CreateAppCookieStickinessPolicyResponse Int
Creating a Request
createAppCookieStickinessPolicy Source
:: Text | |
-> Text | |
-> Text | |
-> CreateAppCookieStickinessPolicy |
Creates a value of CreateAppCookieStickinessPolicy
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CreateAppCookieStickinessPolicy Source
See: createAppCookieStickinessPolicy
smart constructor.
Request Lenses
cacspLoadBalancerName :: Lens' CreateAppCookieStickinessPolicy Text Source
The name of the load balancer.
cacspPolicyName :: Lens' CreateAppCookieStickinessPolicy Text Source
The name of the policy being created. This name must be unique within the set of policies for this load balancer.
cacspCookieName :: Lens' CreateAppCookieStickinessPolicy Text Source
The name of the application cookie used for stickiness.
Destructuring the Response
createAppCookieStickinessPolicyResponse Source
Creates a value of CreateAppCookieStickinessPolicyResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CreateAppCookieStickinessPolicyResponse Source
See: createAppCookieStickinessPolicyResponse
smart constructor.
Response Lenses
cacsprsStatus :: Lens' CreateAppCookieStickinessPolicyResponse Int Source
The response status code.