Bedrock AgentCore Control Structures HarnessSlidingWindowConfiguration¶ Structure Class¶ HarnessSlidingWindowConfiguration dataclass ¶ Bases: _SerdeShape Configuration for sliding window truncation strategy. Attributes¶ messages_count class-attribute instance-attribute ¶ messages_count: int | None = ... The number of recent messages to retain in the context window.