Skip to main content

Configuring SNS Push Notifications on S3 Bucket Events Inside of the AWS Console

Hands-On Lab


Photo of

Training Architect





In this live AWS environment, you will configure an S3 bucket to trigger AWS Simple Notification Service notifications whenever an object is added to an S3 bucket. This scenario will help you understand how you can architect your application to respond to S3 bucket events using other services such as SNS, AWS, Lambda, and others.

Code for this environment:

        "Effect": "Allow",
        "Principal": {
            "Service": "" 
        "Action": "SNS:Publish",
        "Resource": "SNS_ARN_REPLACE_ME",
        "Condition": {
            "ArnLike": { "aws:SourceArn": "arn:aws:s3:*:*:BUCKET_NAME_REPLACE_ME" }

Important - the SNS console may look slightly different than on the video

To edit a topic policy, select the topic, click edit, and scroll down to access policy. Follow the instructions from that point onwards

What are Hands-On Labs?

Hands-On Labs are scenario-based learning environments where learners can practice without consequences. Don't compromise a system or waste money on expensive downloads. Practice real-world skills without the real-world risk, no assembly required.