How to enable S3 event notification with Lambda

Amazon Lambda also supports to run custom code referred as Lambda function by directly inputting your code or uploading a compressed ZIP file of the code in order to run your application code. Amazon Lambda processes your Lambda functions in response to events, for example, the object-created events in S3 bucket, the DynamoDB table updates, or JSON inputs or HTTP commands from your application.

Note

AWS Lambda supports Java and Node.js. For more information, see http://aws.amazon.com/lambda/details/.

We will be creating a sample Node.js. S3 notifies an event to AWS Lambda and AWS Lambda invokes a Lambda function, which then creates a thumbnail and saves it to a target bucket when the objects (image ...

Get Amazon S3 Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.