This is a simple Express server to confirm a http confirmation from AWS SNS. If you want to subscribe to a SNS topic aws sends a http post with a confirmation URL. The script parse it and call the URL. This script can easily be extended to handle messages as well
- Fork this Repo
- Clone it
- Install dependencies
npm install
- Run the server
npm run dev
- Build the server
npm run build
- Run the server
npm run start
This script can be easily executed in an EBS instance. Simply use the EB CLI.
- Init EB
eb init
- Deploy it
eb deploy