Skip to content

StickinessConfigurationDict

Dictionary Type

StickinessConfigurationDict

Bases: TypedDict

Dictionary form of StickinessConfiguration.

Attributes

composite_identifier instance-attribute
composite_identifier: Sequence[str] | None

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: Required[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: int | None

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