StickinessConfiguration¶
Structure Class¶
StickinessConfiguration
dataclass
¶
The configuration for session-sticky routing to a target. Session stickiness routes requests that share a session identifier to the same target.
Attributes¶
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
class-attribute
instance-attribute
¶
timeout: int | None = None
The session stickiness timeout, in seconds. After this duration of inactivity, the session affinity expires. Valid values range from 1 to 86400.