The activity provides the possibility to use the Text To Speech service of Amazon.
It invokes the service and generates the corresponding audio which is stored within “/tmp/” folder to reproduce it later with activities like Playback or Read.
The configuration of the activity requires the next parameters
Language https://docs.aws.amazon.com/polly/latest/dg/SupportedLanguage.html
Voice (Must select a voice compatible with the selected language) https://docs.aws.amazon.com/polly/latest/dg/voicelist.html
AccessKey of Amazon Polly
SecretAccessKey of Amazon Polly
Text (The text that has to be translated to voice).
To reproduce the audio, we must use a Read or a Playback activity where the audio name will be the GUID of the call.
Each time the application is called generates new audio with the call GUID as the name and overwrites the previous one.