Become a member
to unlock all features

Level Up!

Access all courses & lessons on egghead today and lock-in your price for life.


    Trigger an AWS Lambda function by uploading a file to an S3 bucket


    AWS Lambda functions can be triggered by many different sources, including HTTP calls and files being uploaded to S3 buckets.

    This can be useful, for instance if we'd like to start processing a file using a lambda function whenever it gets uploaded to an S3 bucket.

    In this lesson we're going to learn how to create a S3 event trigger for a lambda function, how to create an S3 sample event to test the function and how can we verify that the function was triggered when uploading a file by viewing CloudWatch logs.