How to create a sample policy to notify S3 events
First, we will be creating an SNS through the management console to send an e-mail to your address and S3 event notifications to receive notifications when objects have been uploaded to your S3 bucket. Before moving to the How to do it⦠section, let's quickly see what Amazon Simple Notification Service (SNS) is.
Amazon SNS is a web service used to send messages to subscribing endpoints or clients, and consists of two clients, publishers, and subscribers as shown in the following diagram:
- Publishers asynchronously correspond with subscribers by sending messages to SNS topics
- Subscribers (for example, web servers, e-mail addresses, Amazon SQS queues, and AWS Lambda functions) receive the message or notification over one of the supported protocols (for example, Amazon SQS, HTTP/S, SMS, and Lambda)
Amazon SNS pricing is based on the number of notifications you publish, the number of notifications you deliver, and additional API calls...