Skip to content

Instantly share code, notes, and snippets.

@ernestofreyreg
Last active May 19, 2017 20:24
Show Gist options
  • Save ernestofreyreg/0e17b75277592a68acab2752fd9cfde8 to your computer and use it in GitHub Desktop.
Save ernestofreyreg/0e17b75277592a68acab2752fd9cfde8 to your computer and use it in GitHub Desktop.
module.exports.handler = (event, context, callback) => {
const response = {
statusCode: 200,
body: 'Hello World!',
}
callback(null, response)
// Use this code if you don't use the http event with the LAMBDA-PROXY integration
// callback(null, { message: 'Go Serverless v1.0! Your function executed successfully!', event })
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment