1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 10:02:10 +02:00
tldr/pages/common/cdk.md
Vitor Henrique 1ba7fb9460
pages*: add missing mnemonics (#12151)
* pages*: add missing mnemonics

---------

Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2024-02-19 19:43:42 +05:30

718 B

cdk

A CLI for AWS Cloud Development Kit (CDK). More information: https://docs.aws.amazon.com/cdk/latest/guide/cli.html.

  • List the stacks in the app:

cdk ls

  • Synthesize and print the CloudFormation template for the specified stack(s):

cdk synth {{stack_name}}

  • Deploy one or more stacks:

cdk deploy {{stack_name1 stack_name2 ...}}

  • Destroy one or more stacks:

cdk destroy {{stack_name1 stack_name2 ...}}

  • 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 [l]anguage:

cdk init -l {{language}}

  • Open the CDK API reference in your browser:

cdk docs