Skip to content

Instantly share code, notes, and snippets.

@mpayetta
Created March 27, 2018 20:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mpayetta/3a64d61cda6cd3afe40fea1c3d86ad23 to your computer and use it in GitHub Desktop.
Save mpayetta/3a64d61cda6cd3afe40fea1c3d86ad23 to your computer and use it in GitHub Desktop.
lambda-1.js
var aws = require("aws-sdk");
var nodemailer = require("nodemailer");
var ses = new aws.SES();
var s3 = new aws.S3();
exports.handler = (event, context, callback) => {
// TODO implement
callback(null, 'Hello from Lambda');
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment