Skip to content

SessionStickinessConfig

Source code in docs_src/capo_cloudfront/types/session_stickiness_config.py
class SessionStickinessConfig(TypedDict, closed=True):
    idle_ttl: "capo_cloudfront.types.integer.integer"
    """<p>The amount of time after which you want sessions to cease if no requests are received. Allowed values are 300–3600 seconds (5–60 minutes).</p> <p>The value must be less than or equal to <code>MaximumTTL</code>.</p>"""
    maximum_ttl: "capo_cloudfront.types.integer.integer"
    """<p>The maximum amount of time to consider requests from the viewer as being part of the same session. Allowed values are 300–3600 seconds (5–60 minutes).</p> <p>The value must be greater than or equal to <code>IdleTTL</code>.</p>"""

idle_ttl instance-attribute

idle_ttl: integer

The amount of time after which you want sessions to cease if no requests are received. Allowed values are 300–3600 seconds (5–60 minutes).

The value must be less than or equal to MaximumTTL.

maximum_ttl instance-attribute

maximum_ttl: integer

The maximum amount of time to consider requests from the viewer as being part of the same session. Allowed values are 300–3600 seconds (5–60 minutes).

The value must be greater than or equal to IdleTTL.