Source: towardsthecloud.com

How to migrate to AWS CDK v2
Written on March 18, 2022 by Danny Steenman. **This guide will address these concerns and show you how you can upgrade an existing AWS CDK v1 app to v2 without breaking its functionality.

The biggest change that was added to AWS CDK v2 was that all AWS Construct Libraries got combined into a https://www.npmjs.com/package/aws-cdk-lib. The original AWS CDK v1 was released as 150+ modules, one for every AWS service and a few framework modules.

You need to install the package constructs and import it like this import { Construct } from 'constructs'; ts

Related Articles