***

title: set_voice
slug: /reference/python/agents/bedrock-agent/set-voice
description: Set the Bedrock voice ID after construction.
max-toc-depth: 3
---------------------

For a complete index of all SignalWire documentation pages, fetch https://signalwire.com/docs/llms.txt

Set the Bedrock voice ID after construction.

## **Parameters**

<ParamField path="voice_id" type="str" required={true} toc={true}>
  Bedrock voice identifier (e.g., `"matthew"`, `"joanna"`).
</ParamField>

## **Returns**

`None`

## **Example**

```python {9}
from signalwire import BedrockAgent

agent = BedrockAgent(
    name="bedrock-assistant",
    route="/assistant",
    system_prompt="You are a helpful assistant.",
)

agent.set_voice("joanna")
```