AWS Root login Notification

AWS Root login Notification

September 10, 2021 / Nirav Shah

If you have a large number of users of the S3 bucket, You want to monitor specific events or all events that occur in the bucket. That you can monitor via Email or SMS notification.

  • Create S3 bucket with public access or restricted public access.
  • Create an SNS Topic.
  • And create an email subscription.
  • And confirmation send to the given email address
    Confirm subscription.
  • In the SNS topic,
    Edit Access Policy
    Paste this policy in Access Policy.
  "Version": "2008-10-17",
  "Id": "__default_policy_ID",
  "Statement": [
      "Effect": "Allow",
      "Principal": {
        "AWS": "*"
      "Action": "SNS:Publish",
      "Resource": "your sns topic arn",
      "Condition": {
        "StringEquals": {
          "aws:SourceArn": "your s3 bucket arn"


  • Instead of your sns topic arn ==== Paste your SNS topic arn Instead of your s3 bucket arn ==== Paste your S3 bucket arn.
  • Now Go to Created Bucket in the Properties section.
  • Go to Create event notification.
  • In Event Type, You can choose all events if you wish to get the notification for all events. In choosing Put and Delete events.
  • In destination, Select the SNS topic that you created before.

And Save Changes.

Now try to upload an object in the s3 bucket, After uploading successfully you will get an email notification.

Now try to delete the object in the s3 bucket, you will get an email notification.

This way, You can also get notifications for all events in the S3 bucket.

Talk to AWS Certified Consultant

    Spread Love By Sharing:

    Let Us Talk About Your AWS Development Requirements

    Have queries about your AWS project ideas and concepts? Please drop in your project details to discuss with our AWS experts, professionals and consultants.

    • Swift Hiring and Onboarding
    • Experienced and Trained AWS Team
    • Quality Consulting and Programming
    Let’s Connect and Discuss Your Project