StickinessConfiguration
The configuration for session-sticky routing to a target. Session stickiness routes requests that share a session identifier to the same target.
Contents
- identifier
-
The expression that identifies where to extract the session identifier from the request (for example,
$context.header.x-session-id).Type: String
Length Constraints: Minimum length of 1. Maximum length of 256.
Required: Yes
- timeout
-
The session stickiness timeout, in seconds. After this duration of inactivity, the session affinity expires. Valid values range from 1 to 86400.
Type: Integer
Valid Range: Minimum value of 1. Maximum value of 86400.
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: