Become a member
to unlock all features

Level Up!

Access all courses & lessons on egghead today and lock-in your price for life.


    Create a an AWS Lambda function to scan a DynamoDB table using DocumentClient


    AWS Console is really useful but in vast majority of cases - we want to interact with our database programatically.

    In this lesson we're going to learn how to create a brand new AWS Lambda function in which we'll perform a scan operation on a DynamoDB table.

    There are quite a few topics that we'll cover:

    • creating a new AWS Lambda function
    • creating a brand new IAM Role with required permissions for Lambda function to read data from a DynamoDB table
    • creating an environment variable within the AWS Lambda Console to store the name of the DynamoDB table
    • using AWS.DynamoDB.DocumentClient API in order to call a scan operation on a DynamoDB table