View a markdown version of this page

StickinessConfiguration - Amazon Bedrock AgentCore Control Plane

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

compositeIdentifier

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.

Type: Array of strings

Array Members: Minimum number of 1 item. Maximum number of 5 items.

Length Constraints: Minimum length of 1. Maximum length of 256.

Required: No

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: