Skip to content

Instantly share code, notes, and snippets.


Shoya Shiraki morugu

Block or report user

Report or block morugu

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
morugu / snsToSlack.js
Created Nov 10, 2016 — forked from terranware/snsToSlack.js
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.