S3 and SQS Event Triggers
Learn how to trigger Lambda functions in response to Amazon S3 object events (e.g., uploads) and messages from Amazon SQS queues, facilitating data processing workflows.
Events Drive Serverless
Serverless functions, like AWS Lambda, don't just run on their own. They wait for something to happen! This "something" is called an event.
An event is a signal from another service that tells your Lambda function to execute. Think of it like a doorbell ringing for your function to answer.
S3 Bucket Events
Amazon S3 (Simple Storage Service) is a popular cloud storage service. It can generate events when objects are created, deleted, or modified in your buckets.
- Object Created (PUT): An image is uploaded.
- Object Deleted: A file is removed.
- Object Restored: An archived item is brought back.
These events can trigger a Lambda function to process the changes.