cdk

AWS CDK CLI

Subcommands

NameDescription
initCreate a new, empty CDK project from a template
metadataReturns all metadata associated with this stack
doctorCheck your set-up for potential problems
diffCompares the specified stack with the deployed stack
destroyDestroy the specified stack(s)
deployDeploy the specified stack(s) into your AWS account
bootstrapDeploys the CDK toolkit stack into an AWS environment
synth, synthesizeSynthesizes and prints the CloudFormation template for this stack
ls, listList all stacks in the app
importImport existing resource(s) into the given STACK
watchShortcut for 'deploy --watch'
ack, acknowledgeAcknowledge a notice so that it does not show up anymore
noticesReturns a list of relevant notices
contextManage cached context values
doc, docsOpens the reference documentation in a browser

Options

NameDescription
--versionThe current version
-h, --helpShow help