Asking an Architect
Request-Initiated or Scheduled Task-Initiated?
Choosing a Lambda Blueprint
Configuring Your Lambda Function
The Lambda Function Code
Lambda Function Handler
'use strict'; 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'); };