Skip to content

Instantly share code, notes, and snippets.

@willyg302
Last active August 29, 2015 14:16
Show Gist options
  • Save willyg302/25b8f32e6784aca03a27 to your computer and use it in GitHub Desktop.
Save willyg302/25b8f32e6784aca03a27 to your computer and use it in GitHub Desktop.
/**
* config:
* FunctionName: hello-world
* Handler: hello-world.handler
* Runtime: nodejs
* Description: My awesome Hello World function!
*/
console.log('Loading event');
exports.handler = function(event, context) {
console.log("value1 = " + event.key1);
console.log("value2 = " + event.key2);
console.log("value3 = " + event.key3);
context.done(null, "Hello World");
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment