Amazon API Gateway - AWS Lambda - Amazon Comprehend sentiment analysis

Amazon API Gateway → AWS Lambda → Amazon Comprehend

Perform sentiment analysis using Amazon Comprehend through AWS Lambda and Amazon API Gateway

This patterns shows a CDK deployment on how to use Amazon API Gateway, AWS Lambda, and Amazon Comprehend to perform sentiment analysis in a serverless fashion.

< Back to all patterns

GitHub icon Download this pattern (.zip)

GitHub icon View this pattern on GitHub

Variants

This pattern is available in the following frameworks/languages:

AWS CDK:Python
AWS SAM:Python

Clone repo

git clone https://github.com/aws-samples/serverless-patterns/cd serverless-patterns/apigw-lambda-comprehend/python/cdk

Deploy

cdk deploy


Testing

See the GitHub repo for detailed testing instructions.

Cleanup

Delete the stack: cdk destroy.

Created by:

Arjun Arippa

Arjun Arippa

Arjun Arippa is a Solutions Architect based in Bangalore, India. He works with some of the strategic and global customers in India, to build and architect their applications on AWS. Before joining AWS, Arjun spent over a decade working as a Software Developer. Reach out to him on LinkedIn