AWS CDK Commands
The AWS Cloud Development Kit (CDK) comes with a list of commands that you need to know:
| cdk list (ls) | Lists the stacks in the app |
| cdk synthesize (synth) | Synthesizes and prints the CloudFormation template for the specified stack(s) |
| cdk bootstrap | Deploys the CDK Toolkit staging stack; see Bootstrapping |
| cdk deploy | Deploys the specified stack(s) |
| cdk destroy | Destroys the specified stack(s) |
| cdk diff | Compares the specified stack with the deployed stack or a local CloudFormation template |
| cdk metadata | Displays metadata about the specified stack |
| cdk init | Creates a new CDK project in the current directory from a specified template |
| cdk context | Manages cached context values |
| cdk docs (doc) | Opens the CDK API reference in your browser |
| cdk doctor | Checks your CDK project for potential problems |
You can learn more about the CDK here: https://docs.aws.amazon.com/cdk/v2/guide/cli.html