From 6accbcedbe0854ca312ed9a1b3cebb4521cee19f Mon Sep 17 00:00:00 2001 From: honarmand-io <72320803+honarmand-io@users.noreply.github.com> Date: Wed, 28 Oct 2020 11:41:51 -0600 Subject: [PATCH] cdk: add page (#4756) --- pages/common/cdk.md | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 pages/common/cdk.md diff --git a/pages/common/cdk.md b/pages/common/cdk.md new file mode 100644 index 0000000000..64790c387f --- /dev/null +++ b/pages/common/cdk.md @@ -0,0 +1,32 @@ +# cdk + +> A CLI for AWS Cloud Development Kit (CDK). +> More information: . + +- List the stacks in the app: + +`cdk ls` + +- Synthesize and print the CloudFormation template for the specified stack(s): + +`cdk synth {{stack_name}}` + +- Deploy a space-separated list of stacks: + +`cdk deploy {{stack_name}}` + +- Destroy a space-separated list of stacks: + +`cdk destroy {{stack_name}}` + +- Compare the specified stack with the deployed stack or a local CloudFormation template: + +`cdk diff {{stack_name}}` + +- Create a new CDK project in the current directory for a specified language: + +`cdk init -l {{language_name}}` + +- Open the CDK API reference in your browser: + +`cdk doc`