Skip to content

Instantly share code, notes, and snippets.

@gerhardberger
Created December 7, 2017 21:15
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 gerhardberger/162324f57d2fa0e10b64d5acafc3c2ae to your computer and use it in GitHub Desktop.
Save gerhardberger/162324f57d2fa0e10b64d5acafc3c2ae to your computer and use it in GitHub Desktop.
module.exports.hello = (event, context, callback) => {
const response = {
statusCode: 200,
body: JSON.stringify({
message: 'Hello world from AWS Lambda!'
}),
}
callback(null, response)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment