# Turn-taking attributes

Bot-based flows. Lex V2 session attributes in the `x-amz-lex` namespace, from the [agentic voice best practices](https://docs.aws.amazon.com/connect/latest/adminguide/agentic-voice-best-practices.html) page, checked 20 November 2026.

Set a tight value on the slot that needs it. Do not put one aggressive `*:*` default on the whole bot.

| Attribute | Default | Range or notes |
| --- | --- | --- |
| `x-amz-lex:audio:end-confidence-threshold` | 0.7 | 0.5–0.9. Primary end-of-turn signal. Higher waits longer. |
| `x-amz-lex:audio:end-timeout-ms` | 640 | 500–10,000 ms. Silence fallback after confidence has not already ended the turn. |
| `x-amz-lex:allow-interrupt` | true | Set false only for a disclosure or a read-back the caller must hear in full. |
| `x-amz-lex:audio:locale-override` | unset | Comma-separated language codes, max 10, no intent or slot suffix. Replaces the bot-locale bias. |

Agentic CX designer nodes use Speech settings on the node (allow interruption, voice start timeout, voice end timeout) instead of these attribute names. Do not mix the two configuration styles in one explanation to an agent who will edit the wrong surface.
