Practical

1. Creating a bucket

  • Goto s3 -> create a bucket (awstestevent)

2. Creating and attaching a subscription

  • Goto sns -> topic -> create topic -> topic name (event) - > other topic action -> edit topic policy -> advanced view -> copy and paste the policy from google (enabling event notifications, make the changes such as region, acc no, topic name, bucket name) -> update policy -> create subscription -> protocol (email) -> endpoint (enter the mail id) -> create subscription.

3. Attaching the event to Bucket

  • Goto bucket -> events -> name (event) -> events (any) -> sns topic (select the existing)

(note: Bucket and topic should be in same region)

Last updated