Home

Awesome

sns2slack

AWS SNS to slack notifications handler for AWS Lambda

Installation

Assuming you already have SNS topic with subscribed lambda...

  1. Create node project and add dependency: npm install sns2slack

  2. Create index.js file with following content:

const sns2slack = require("sns2slack");

exports.handler = sns2slack();
  1. Zip your project file and upload it to AWS Lambda.

  2. Setup environment variables:

Reference

sns2slack(options): lambda handler function

options: