Amazon S3 Event Notifications can be triggered when a new object is created. It can send a notification in several ways:
- Send a message to an Amazon Simple Notification Service (Amazon SNS) topic
- The SNS topic can then send the message to several different endpoints
- Push a message into an Amazon Simple Queue Service (Amazon SQS) queue
- Invoke an AWS Lambda function
Therefore, you could use Amazon SNS to send a message to an HTTP Endpoint in your app, which can trigger some activity.
Or, your app could poll an Amazon SQS queue, looking for messages about newly-created objects.
So, there are several ways for your program to be “informed”. It really depends on the architecture of your application whether you want to push or poll for the notification.
Read more here: Source link