TextEvent - Amazon Polly
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

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 AWS SDKs, see the following: