This template demonstrates how to deploy SNS topic and add Access policy for S3 bucket to publish messages to SNS using the Serverless Framework.
In order to deploy the example, you need to run the following command:
$ serverless deploy
After running deploy, you should see output similar to:
Deploying sns-topic-with-policy to stage dev (us-east-1)
✔ Service deployed to stack sns-topic-stack (103s)
Need a faster logging experience than CloudWatch? Try our Dev Mode in Console: run "serverless dev"