Join egghead, unlock knowledge.

Want more egghead?

This lesson is for members. Join us? Get access to all 3,000+ tutorials + a community with expert developers around the world.

Unlock This Lesson
1×
Become a member
to unlock all features

Level Up!

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

Autoplay

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

    awsAWS

    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.