Mapping Lambda with CloudWatch events

CloudWatch offers easy event mapping integrations with Lambda using which you can execute Lambda functions either based on triggered events or even schedule their execution using CloudWatch events.

The following use case uses CloudWatch events to take periodic backups of data stored in a DynamoDB table over to S3. There are different ways to export data from your DynamoDB table and store it for later by using services such as data pipeline and EMR, but these approaches make sense when you have a really huge database consisting of millions of rows of data. What if you have a minimalistic DynamoDB table with a 100 or 200 rows of data only? In that case, it makes sense to write a simple function using Lambda ...

Get Mastering AWS Lambda now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.