Skip to content

Instantly share code, notes, and snippets.

Douglas Land looprock

Block or report user

Report or block looprock

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
terranware / snsToSlack.js
Last active Oct 14, 2019
AWS Lambda function to Slack Channel hookup
View snsToSlack.js
var https = require('https');
var util = require('util');
exports.handler = function(event, context) {
console.log(JSON.stringify(event, null, 2));
console.log('From SNS:', event.Records[0].Sns.Message);
var postData = {
"channel": "#aws-sns",
"username": "AWS SNS via Lamda :: DevQa Cloud",
You can’t perform that action at this time.