Skip to content

Instantly share code, notes, and snippets.

View thachnv92's full-sized avatar

Thach Nguyen thachnv92

View GitHub Profile
@terranware
terranware / snsToSlack.js
Last active March 22, 2025 16:43
AWS Lambda function to Slack Channel hookup
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",