Registry / aws / cdk-common

cdk-common

JSON →
library2.1.27pypypi✓ verified 84d ago

Common AWS CDK library providing reusable constructs and utilities for AWS CDK applications. Version 2.1.27, supporting Python ~=3.9. Active development with weekly releases.

pip install cdk-common
INSTALL
IMPORT
SIG · CDK-COMMON
C
cdk-common
awspythonv2.1.27
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

AWSManagedPolicies
from cdk_common import AWSManagedPolicies
from cdk_common import BaseConstruct
LambdaArmFunction
from cdk_common import LambdaArmFunction
LambdaArmFunctionProps
from cdk_common import LambdaArmFunctionProps

Minimal CDK app using cdk-common's BaseConstruct.

from aws_cdk import App, Stack from cdk_common import BaseConstruct class MyStack(Stack): def __init__(self, scope, id, **kwargs): super().__init__(scope, id, **kwargs) BaseConstruct(self, "MyConstruct") app = App() MyStack(app, "MyStack") app.synth()
Debug
Known issues
breakingVersion 2.x migrated from aws-cdk-lib v1 to v2. All imports must use aws_cdk (v2) not @aws-cdk/*.
fix
Replace all @aws-cdk/* imports with aws_cdk.* equivalents.
affects: >=2.0.0
deprecatedThe function 'create_lambda_function' was replaced by 'LambdaFunction' class in v1.5.0.
fix
Use 'from cdk_common import LambdaFunction' instead.
affects: >=1.5.0
gotchaConstruct IDs must be unique within the same scope; reusing IDs causes synthesis failure.
fix
Always use unique construct IDs, e.g., via 'self.id' or a counter.
affects: all
gotchaNot all constructs accept 'kwargs' for all properties; check the specific construct's signature.
fix
Refer to the official documentation for the required parameters of each construct.
affects: all
Upgrade
Version history
2.1.27latest on PyPI · released Apr 27, 2026
Audit
Dependencies
aws-cdk-librequiredPeer dependency for CDK constructs
constructsrequiredBase class for CDK constructs
Agent activity
15 hits · last 30 days
node
14
Resources
cdk-common — pip install cdk-common · libregistry