Amazon Polly
Developer Guide

Using SSML

Amazon Polly generates speech from both plain text input and Speech Synthesis Markup Language (SSML) documents that conform to SSML version 1.1. Using SSML tags, you can customize and control aspects of speech such as pronunciation, volume, and speech rate.

Amazon Polly supports SSML 1.1 as defined in the following W3C recommendation:

Some of the elements in the SSML W3C recommendation are not supported. For more information, see Limits in Amazon Polly.

This section provides simple examples of SSML that can be used to generate and control speech output. The examples also provide the synthesize-speech AWS CLI command to test these examples.