Skip to Content
Hands-On Serverless Computing
book

Hands-On Serverless Computing

by Kuldeep Chowhan
July 2018
Intermediate to advanced
350 pages
8h 47m
English
Packt Publishing
Content preview from Hands-On Serverless Computing

DynamoDB Trigger

Amazon DynamoDB is a fast NoSQL database for all applications that are looking for single-digit-millisecond latency at scale. It is a fully managed cloud database provided by AWS. You can learn more about it at https://aws.amazon.com/dynamodb/.

You can invoke your AWS Lambda functions as triggers in response to updates that are made to DynamoDB tables. To be able to leverage this feature, you would first need to enable Amazon DynamoDB streams for your Amazon DynamoDB table. With DynamoDB streams enabled, AWS Lambda polls the stream and invokes your function to process the data from the stream. You can configure AWS Lambda to read data from streams in batches.

Here is a screenshot of an AWS Lambda configuration to poll a records ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Learn AWS Serverless Computing

Learn AWS Serverless Computing

Scott Patterson
Erlang and OTP in Action

Erlang and OTP in Action

Eric Merritt, Richard Carlsson, Martin Logan

Publisher Resources

ISBN: 9781788836654Supplemental Content