Ten Examples of Getting Data from DynamoDB with Python and Boto3

I recently wrote about using Node.js and the AWS SDK for JavaScript to get data from DynamoDB. In this post, I’ll take you through how to do the same thing with Python and Boto3! We’ll use both a DynamoDB client and a DynamoDB table resource in order to do many of the same read operations on the DynamoDB table. I hope this helps serve as a reference for you whenever you need to query DynamoDB with Python.

Eight Examples of Fetching Data from DynamoDB with Node.js

I frequently see people looking for simple examples of how to use one of AWS’ SDKs to do simple operations on DynamoDB and other services. So I thought it was about time we had a few examples to work from that weren’t completely overwhelming. In this post, I’ll show you a few ways to use the AWS SDK for JavaScript to get data out of a DynamoDB table. I hope these will serve as a decent reference for many basic operations you might need to take to read information from your DynamoDB tables!

Adding Lambda Authorizers to your Serverless Applications

So you’ve developed a snazzy new Serverless API on AWS and everything is going great. That is until you realize that there might eventually be production data behind it that you don’t want someone with Postman and 20 minutes on their hands to have access to. That’s where Lambda Authorizers come in. They’re a way to make sure that your API will only respond to authorized callers. Let’s look at how to implement authorizers for ourselves using an example application called Serverless Jams - where we vote on our favorite coding-related music.

My Newest Free Course - Serverless for Frontend Developers

My Newest Free Course - Serverless for Frontend Developers

I have a new three-hour long course on building serverless applications from the perspective of a frontend developer. Some of the things you’ll learn include:

  • How to deploy serverless frontends on AWS with SSL, a custom domain, and the CloudFront CDN
  • How to spin up your first backend APIs with the Serverless Framework
  • How to integrate Auth0 into your frontend
  • How to use Auth0 to secure your backend APIs

The best part? It’s 100% free! Feel free to check it out here. Let me know what you think on Twitter!

Updating Route 53 Domains with awsmailman

One of my few possessions is an abundance of poorly-chosen Amazon Route 53 domain names with outdated contact addresses from moving between overpriced apartments - I am what you might call a tech typical millennial.

So I wrote a Python package called awsmailman to help do this for me and now you can use it too.