Skip to content

LBCookieStickinessPolicy

Source code in docs_src/capo_elastic_load_balancing/types/lb_cookie_stickiness_policy.py
class LBCookieStickinessPolicy(TypedDict, closed=True):
    policy_name: NotRequired["capo_elastic_load_balancing.types.policy_name.PolicyName"]
    """<p>The name of the policy. This name must be unique within the set of policies for this load balancer.</p>"""
    cookie_expiration_period: NotRequired[
        "capo_elastic_load_balancing.types.cookie_expiration_period.CookieExpirationPeriod"
    ]
    """<p>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.</p>"""
cookie_expiration_period: NotRequired[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.

policy_name: NotRequired[PolicyName]

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