mirror of https://github.com/CrimsonTome/tldr.git
cdk: add page (#4756)
parent
81f0b337e1
commit
6accbcedbe
|
@ -0,0 +1,32 @@
|
|||
# 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 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`
|
Loading…
Reference in New Issue