Skip to content

StickinessConfiguration

Source code in docs_src/capo_bedrock_agentcore_control/types/stickiness_configuration.py
class StickinessConfiguration(TypedDict, closed=True):
    identifier: "str"
    """<p>The expression that identifies where to extract the session identifier from the request (for example, <code>$context.header.x-session-id</code>).</p>"""
    timeout: NotRequired[
        "capo_bedrock_agentcore_control.types.stickiness_timeout.StickinessTimeout"
    ]
    """<p>The session stickiness timeout, in seconds. After this duration of inactivity, the session affinity expires. Valid values range from 1 to 86400.</p>"""
    composite_identifier: NotRequired[
        "capo_bedrock_agentcore_control.types.composite_identifier_list.CompositeIdentifierList"
    ]
    """<p>Additional headers to include in session affinity routing. When set, requests are only considered part of the same session if both the <code>identifier</code> and all composite identifier values match.</p>"""

composite_identifier instance-attribute

composite_identifier: NotRequired[CompositeIdentifierList]

Additional headers to include in session affinity routing. When set, requests are only considered part of the same session if both the identifier and all composite identifier values match.

identifier instance-attribute

identifier: str

The expression that identifies where to extract the session identifier from the request (for example, $context.header.x-session-id).

timeout instance-attribute

timeout: NotRequired[StickinessTimeout]

The session stickiness timeout, in seconds. After this duration of inactivity, the session affinity expires. Valid values range from 1 to 86400.