Become a member
to unlock all features

    Get all items from a DynamoDB table deployed with CDK using DocumentClient API


    Now we're getting somewhere 🎉

    Our stack has plenty of resources and how it's the time to start combining them together.

    In this lesson we're going to create a new lambda function that will read data from our new TodoTable.

    Since we don't want to add unnecessary noise, we're going to define the lambda function in the TodoBackend stack.

    After all - whoever will end up using that stack shouldn't have worry too much about the underlying details. That's the power of CDK - we get to abstract away unnecessary implementation details and focusing on solving problems by deploying infrastructure and resources we need to solve them.