This is a library that extends the AWS CDK Library.
To use this package, you need to install this package.
npm install my-aws-cdk-lib
You can use a classic import to get access to each service namespaces:
import { ec2_construct as myEc2 } from 'my-aws-cdk-lib';
const app = new App();
const stack = new Stack(app, 'TestStack');
new myEc2.Instances(stack, 'TestInstances', {
...
});