Introduction
Sometimes you want your program to run automatically when a file is added to storage. AWS Lambda with S3 event triggers lets you do this by running code whenever a new file appears in an S3 bucket.
When you want to resize images automatically after uploading them to storage.
When you need to process data files as soon as they are saved in a storage bucket.
When you want to send notifications or logs every time a new file is added.
When you want to automate backups or data transformations triggered by file uploads.
When you want to scan files for viruses immediately after upload.