Who is this for
This is the module for you if you want to:
- Use Amazon Polly via Lambda
- Cache the responses in S3 and serve them via S3
How to use
Make sure your AWS Lambda function has permissions to access:
- your S3 bucket
- Polly
Installation
npm install alexa-polly
Usage
//Inside a lambda contextexportshandler = async { const AlexaPolly = ; const polly = ; await polly; // -> https://s3-eu-west-1.amazonaws.com/your-bucket-name/Brian-feb8c74fc13ec529e245d16227c26a79.mp3 await polly; // -> https://s3-eu-west-1.amazonaws.com/your-bucket-name/Kimberly-e245d16227c26a79feb8c74fc13ec529.mp3};