cdk

A CLI for AWS Cloud Development Kit (CDK).

TLDR

List the stacks in the app

$ cdk ls
copy

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

$ cdk synth [stack_name]
copy

Deploy a space-separated list of stacks

$ cdk deploy [stack_name]
copy

Destroy a space-separated list of stacks

$ cdk destroy [stack_name]
copy

Compare the specified stack with the deployed stack or a local CloudFormation template

$ cdk diff [stack_name]
copy

Create a new CDK project in the current directory for a specified language

$ cdk init -l [language_name]
copy

Open the CDK API reference in your browser

$ cdk doc
copy

Copied to clipboard
free 100$ digital ocean credit