skillfed

aws-cdk.aws-dynamodb

The CDK Construct Library for AWS::DynamoDB

aws-cdk-aws-dynamodb v1.204.0 150.3K downloads/30d#10,968 on PyPI12,868
Permissive license Apache-2.0 Active released

What it is and what it does

aws-cdk.aws-dynamodb is a construct library for AWS CDK v1 that lets you define DynamoDB tables, indexes, and configurations in Python code rather than through CloudFormation templates or the AWS console. It wraps the underlying AWS resources and provides a high-level API for common patterns: creating tables with partition and sort keys, choosing billing modes (provisioned or on-demand), setting up autoscaling policies, configuring encryption with customer-managed or AWS-managed keys, and enabling global table replication across regions. You can also import existing tables by ARN or name and grant IAM permissions to users and roles.

The package depends on other AWS CDK modules and uses jsii for language binding. It is classified as inactive because AWS CDK v1 reached end-of-support on 2023-06-01 and is no longer receiving updates. Users building new infrastructure should use AWS CDK v2 instead; this package is maintained only for existing v1 deployments.

Use it for:

  • Define a new DynamoDB table with partition key and billing mode in a CDK stack without writing CloudFormation YAML
  • Set up autoscaling policies to adjust read/write capacity based on utilization or time-of-day schedules
  • Create a global DynamoDB table replicated across multiple AWS regions with a single construct call
  • Import an existing DynamoDB table by ARN and grant read-write permissions to an IAM user or role
  • Configure table encryption with a customer-managed KMS key and enable key rotation

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Provides AWS CDK constructs for defining, configuring, and deploying Amazon DynamoDB tables as infrastructure code, including autoscaling, global replication, encryption, and stream integration.

No—not for new projects. This package is end-of-support as of 2023-06-01 and AWS CDK v1 is no longer being updated. Existing v1 deployments may continue to work, but new infrastructure should use AWS CDK v2 instead. If you are maintaining legacy v1 code, the low install friction and permissive license make it safe to keep, but migration is strongly recommended.

Install

aws-cdk-aws-dynamodb on PyPI

pip

pip install aws-cdk-aws-dynamodb

uv

uv add aws-cdk-aws-dynamodb

poetry

poetry add aws-cdk-aws-dynamodb

Installing aws-cdk.aws-dynamodb

Before you install

Low installation friction with a wheel distribution. However, this is an end-of-support package as of 2023-06-01; AWS CDK v1 is no longer being updated and users are advised to migrate to AWS CDK v2.

License in practice

Licensed under Apache-2.0 (permissive), allowing commercial and private use with minimal restrictions beyond attribution and liability disclaimers.

Quickstart

from aws_cdk import aws_dynamodb as dynamodb

table = dynamodb.Table(self, "Table",
    partition_key=dynamodb.Attribute(name="id", type=dynamodb.AttributeType.STRING)
)

AWS CDK v1 reached end-of-support on 2023-06-01 and is no longer being updated; migration to AWS CDK v2 is recommended.

Verify before relying

  • Whether migration tooling from v1 to v2 is straightforward for existing deployments using this package
  • Current adoption rate among active CDK users and whether v1 packages remain functional in production

Package facts

License Apache-2.0 (permissive)
Python support supports the current Python release (~=3.7)
Install friction low — pure-Python wheel
Runtime dependencies 12 — aws-cdk.aws-applicationautoscaling, aws-cdk.aws-cloudwatch, aws-cdk.aws-iam, aws-cdk.aws-kinesis, aws-cdk.aws-kms, aws-cdk.aws-lambda, aws-cdk.core, aws-cdk.custom-resources, constructs, jsii, publication, typeguard
Maintenance actively maintained — 1,152 days since the last release
Last repo commit
First released
Downloads 150,281/month — #10,968 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: aws_cdk.aws_dynamodb-1.204.0-py3-none-any.whl

Development Status :: 7 - InactiveFramework :: AWS CDKFramework :: AWS CDK :: 1Intended Audience :: DevelopersLicense :: OSI ApprovedOperating System :: OS IndependentProgramming Language :: JavaScriptProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Typing :: Typed

Tags

dynamodb infrastructure as codeaws cdk dynamodb tablesdynamodb construct librarycdk table autoscalingdynamodb global tables cdkdynamodb encryption provisioningcdk kinesis dynamodb streams
infrastructure-as-codeaws-cdkend-of-support

More Build Tools packages

packaging

Provides reusable utilities for Python…

permissive · top 100 on PyPI

tqdm

Wraps any iterable to display a real-time…

copyleft · top 100 on PyPI

pip

pip is the standard installer for Python…

permissive · top 100 on PyPI

hatchling

Hatchling is a standards-compliant Python build…

permissive · top 100 on PyPI

grpcio-tools

Generates Python gRPC service stubs and message…

permissive · top 1,000 on PyPI

pre-commit

pre-commit is a framework for installing and…

permissive · top 1,000 on PyPI

aws-cdk.aws-ecr

Provides AWS CDK constructs for defining,…

permissive · top 15,000 on PyPI

aws-cdk.aws-kinesis

Defines AWS Kinesis data streams as…

permissive · top 15,000 on PyPI

aws-cdk.aws-applicationautoscaling

Provides CDK constructs for configuring…

permissive · top 15,000 on PyPI

dynamodb-encryption-sdk

Encrypts and decrypts DynamoDB items…

permissive · top 15,000 on PyPI

aws-cdk.aws-s3tables-alpha

Provides AWS CDK constructs for defining and…

permissive · top 15,000 on PyPI

aws-cdk.aws-secretsmanager

AWS CDK construct library for provisioning and…

permissive · top 15,000 on PyPI

aws-cdk.aws-kinesisfirehose-alpha

Provides AWS CDK constructs for defining Amazon…

permissive · top 15,000 on PyPI

aws-cdk.aws-kms

Provides AWS CDK constructs for defining and…

permissive · top 15,000 on PyPI

aws-cdk.aws-s3

Defines AWS S3 buckets and related resources as…

permissive · top 15,000 on PyPI

aws-cdk.aws-ecs

Provides AWS CDK constructs for defining and…

permissive · top 15,000 on PyPI