Simple log function using AWS DynamoDB To invoke the function locally, you must have the Serverless CLI installed: sls invoke local -f log -d "Your log message goes here."