https://github.com/smithclay/lambda-talk
Lambda powered text-to-speech using Polly + API Gateway. Demo: http://lambda-talk-example.s3-website.us-east-2.amazonaws.com/
https://github.com/smithclay/lambda-talk
Last synced: about 1 year ago
JSON representation
Lambda powered text-to-speech using Polly + API Gateway. Demo: http://lambda-talk-example.s3-website.us-east-2.amazonaws.com/
- Host: GitHub
- URL: https://github.com/smithclay/lambda-talk
- Owner: smithclay
- Created: 2016-11-30T23:16:00.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-12-01T16:55:32.000Z (over 9 years ago)
- Last Synced: 2025-02-08T16:43:44.910Z (over 1 year ago)
- Language: CSS
- Homepage:
- Size: 16.6 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
## lambda-talk
Uses AWS Polly to Synthesize speech in a Lambda function. Must run in a region that supports the new [text-to-speech Polly service](https://aws.amazon.com/polly/).
Example: [http://lambda-talk-example.s3-website.us-east-2.amazonaws.com/](http://lambda-talk-example.s3-website.us-east-2.amazonaws.com/)
## Requirements
* AWS Account
* Existing Lambda function with IAM permissions for AWS Polly.
* API Gateway with endpoint that proxies the lambda function.
## Installing dependencies
The 11/30/16 version of the AWS JS SDK is required—*not* the older version bundled inside of lambda.
```
npm install
```
## Updating/uploading the Lambda function
This assumes the Lambda function specified in the script in the region already exists with the correct permissions.
The `node_modules` directory is bundled because the AWS SDK included in Lambda as of 11/30/16 doesn't have Polly support.
```
./deploy.sh
```