--- id: aws-cdk-aws-dynamodb version: "1.204.0" license: Apache-2.0 license_treatment: permissive maintenance: active --- # aws-cdk.aws-dynamodb — The CDK Construct Library for AWS::DynamoDB License: permissive · Maintenance: active · Downloads: 150.3K/mo ## 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 above — 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 pip install aws-cdk-aws-dynamodb uv add aws-cdk-aws-dynamodb 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_current - Install friction: low - Maintenance: active - Downloads: 150.3K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags dynamodb infrastructure as code, aws cdk dynamodb tables, dynamodb construct library, cdk table autoscaling, dynamodb global tables cdk, dynamodb encryption provisioning, cdk kinesis dynamodb streams, infrastructure-as-code, aws-cdk, end-of-support [View on SkillFed](https://skillfed.io/packages/aws-cdk-aws-dynamodb) · [View on PyPI](https://pypi.org/project/aws-cdk-aws-dynamodb/)