A new and improved AWS CDK construct for Amazon DynamoDB tables
DevOps & Developer Productivity Blog
This article introduces the new AWS CDK TableV2 construct for Amazon DynamoDB tables, which provides several improvements and new features compared to the original Table construct.
Specifically, the article covers:
- Background: The reasoning behind creating a new TableV2 construct, including improved drift detection for replica tables and eliminating the need for a Lambda custom resource.
- Features walkthrough:
- Replicas: Configuring properties on a per-replica basis, granting permissions to individual replicas, and more granular control.
- Billing: Simplified configuration of billing modes (on-demand or provisioned) and auto-scaling using new classes.
- Encryption: Ability to provide custom KMS keys for each replica, improving security and control.
- Conclusion: The TableV2 construct offers significant improvements over the original Table construct, including easier global table management, simplified configuration, more granular control over replicas, and an improved API design and user experience.
The AWS News Feed is currently looking for gold sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.
Related articles
Feb 2
2024
2024
Announcing CDK Migrate: A single command to migrate to the AWS CDK
Aug 28
2025
2025
Amazon S3 improves AWS CloudFormation and AWS CDK support for S3 Tables
Jan 18
2024
2024
How to use AWS Database Encryption SDK for client-side encryption and perform searches on encrypted attributes in DynamoDB tables
May 13
2026
2026
Zero-downtime DynamoDB construct migration: from Table to TableV2 with cdk orphan
The AWS News Feed is currently looking for silver sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.