mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-01 23:54:33 +00:00
Update cheatsheets
This commit is contained in:
37
cdk
Normal file
37
cdk
Normal file
@@ -0,0 +1,37 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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`
|
||||
Reference in New Issue
Block a user