Skip to Content
Learning AWS IoT
book

Learning AWS IoT

by Agus Kurniawan
January 2018
Intermediate to advanced
278 pages
5h 13m
English
Packt Publishing
Content preview from Learning AWS IoT

Building Lambda and its rule

After we have created a table on AWS DynamoDB, we can continue developing the AWS Lambda function. We will use Node.js runtime to write the program for AWS Lambda. Just navigate to https://console.aws.amazon.com/lambda from your browser. We will create the AWS Lambda function from scratch:

  1. Fill in your Lambda function name; for instance, aws-iot-button. Select Node.js for runtime and your existing role or create a new one if you don't have one. The Lambda role is important to ensure your Lambda has permission to access AWS DynamoDB. I will explain it in the last section:
  1. On your Lambda function dashboard, we ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Learn AWS Serverless Computing

Learn AWS Serverless Computing

Scott Patterson

Publisher Resources

ISBN: 9781788396110Supplemental Content