TextEvent - Amazon Polly
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

TextEvent

Contains text content to be synthesized into speech.

Contents

Text

The text content to synthesize. If you specify ssml as the TextType, follow the SSML format for the input text.

Type: String

Required: Yes

FlushStreamConfiguration

Configuration for controlling when synthesized audio flushes to the output stream.

Type: FlushStreamConfiguration object

Required: No

TextType

Specifies whether the input text is plain text or SSML. Default: plain text.

Type: String

Valid Values: ssml | text

Required: No

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: