Skip to content
masterclass Buddy

AWS Services · Service

DynamoDB

Boto3 provides table resources for creating tables and performing DynamoDB item operations. You can write, read, update, delete, batch write, query, and scan items with Python.

Last updated

Syntax

boto3.resource('dynamodb').Table('table_name')
table.put_item(Item={...})
table.get_item(Key={...})
table.update_item(Key={...}, UpdateExpression='...', ExpressionAttributeValues={...})
table.delete_item(Key={...})
table.query(KeyConditionExpression=...)
table.scan(FilterExpression=...)

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • DynamoDB.ServiceResource
  • DynamoDB.Table
  • create_table()
  • put_item()
  • get_item()
  • update_item()
  • delete_item()
  • batch_writer()

Source: Amazon DynamoDB - Boto3 1.43.123 documentation. Checked 2026-11-03.