What is the purpose of aws-cdk-lib vs @aws-cdk/core, @aws-cdk/aws-iam, ...?

Viewed 58

I see various examples of using the AWS CDK where some use aws-cdk-lib and others use @aws-cdk/core. What is the difference between these and when should one or the other be used?

1 Answers

aws-cdk-lib is CDK v2 modules and @aws-cdk/core is v1, you should use V2 instead

Related