O'Reilly logo

Amazon S3 Cookbook by Naoya Hashimoto

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required