This describes how to configure an SNS topic in the AWS Console.
{ "Sid": "example-statement-ID", "Effect": "Allow", "Principal": { "AWS": "*" }, "Action": "SNS:Publish", "Resource": " ", "Condition": { "ArnLike": { "aws:SourceArn": "arn:aws:s3:*:*:*" } } }
The two things you need to make sure are done are:
1. Make sure that your topic ARN is within the quotations after "Resource":
2. Place the snippet above after the } that is highlighted in the screenshot attached.