This project uses the @aws-cdk/cli-lib-alpha module to programmatically interact with AWS CDK. For more information, check the official documentation: AWS CDK CLI Library Alpha.
Important
You should have a basic understanding of CDK.
Warning
Checkout the issue aws/aws-cdk-rfcs#300 to see the current status of the library: @aws-cdk/cli-lib-alpha
Take a look at the api.ts
file to see how to use the library. It’s simple and straightforward! For this demo, I’ve implemented functions like:
Command | Description |
---|---|
list | To list available resources. |
deploy | To deploy resources. |
destroy | To delete deployed resources. |
npm i
To run the project, use the following command:
npx ts-node api.ts