The AWS Cloud Improvement Equipment (CDK) comes with a listing of instructions that it’s worthwhile to know:
cdk record (ls) | Lists the stacks within the app |
cdk synthesize (synth) | Synthesizes and prints the CloudFormation template for the required stack(s) |
cdk bootstrap | Deploys the CDK Toolkit staging stack; see Bootstrapping |
cdk deploy | Deploys the required stack(s) |
cdk destroy | Destroys the required stack(s) |
cdk diff | Compares the required stack with the deployed stack or an area CloudFormation template |
cdk metadata | Shows metadata in regards to the specified stack |
cdk init | Creates a brand new CDK mission within the present listing from a specified template |
cdk context | Manages cached context values |
cdk docs (doc) | Opens the CDK API reference in your browser |
cdk physician | Checks your CDK mission for potential issues |
You may study extra in regards to the CDK right here: https://docs.aws.amazon.com/cdk/v2/information/cli.html