Created
April 30, 2016 13:29
-
-
Save marcelpanse/ee3e33d9095d3234d24af550627c0211 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
var AWS = require("aws-sdk"); //load any NPM dependency | |
console.log('Loading function'); | |
exports.handler = (event, context, callback) => { | |
//console.log('Received event:', JSON.stringify(event, null, 2)); | |
console.log('value1 =', event.key1); | |
console.log('value2 =', event.key2); | |
console.log('value3 =', event.key3); | |
callback(null, event.key1); // Echo back the first key value | |
// callback('Something went wrong'); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment