Mapping Lambda with S3

You can easily write and invoke Lambda functions for processing objects stored in an S3 bucket. The functions can be triggered using a set of notification configurations which trigger a corresponding Lambda function into action. The following is a list of few such notification configurations that can be used for triggering functions on S3 buckets:

  • When an object is created in a bucket using either put, post, copy or a completemultipartupload operation
  • When an object is deleted from a bucket using the delete operation
  • When a bucket set with ReducedRedundancy storage option loses an object

How does it all work? Quite simple actually. When we first configure the event source mapping for a particular S3 bucket, we initially ...

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.