Amazon Kinesis to AWS Lambda using REST API

Amazon API Gateway → Amazon Kinesis → AWS Lambda

REST API that executes a PutRecords API call to a Kinesis Data stream. The stream is then consumed by a Lambda function.

This pattern will deploy a Amazon API Gateway endpoint that integrates with Amazon Kinesis. The records from the Kinesis stream are processed by a Lambda function.

< Back to all patterns

GitHub icon Download this pattern (.zip)

GitHub icon View this pattern on GitHub


Clone repo

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

Deploy

sam deploy --guided


Testing

See the GitHub repo for detailed testing instructions.

Cleanup

Delete the stack: sam delete.

Created by:

Vijay Konade

Vijay Konade

Cloud Support Eng @ AWS

Follow on LinkedIn

Thi Nguyen

Thi Nguyen

Solutions Architect @ AWS

Follow on LinkedIn