AWS Cloud Development Kit features
Commands
cdk init
Initialize a new default application in the language of your choice.
cdk synth
Compile your AWS CDK application into a CloudFormation template.
cdk diff
See a diff between your local AWS CDK code and the running application in AWS.
cdk deploy
Deploy your AWS CDK application into testing or production with CloudFormation.
Integrate with your IDE
The AWS CDK Explorer (Preview) is a feature in the AWS Toolkit for Visual Studio Code, which provides you a bird’s eye view of your applications, infrastructure stacks, resources, and policies. The AWS CDK Explorer lists your CDK projects and allows you to easily browse the various components of your CDK application. The AWS CDK Explorer sidebar is integrated within Visual Studio Code, and you can find it on the default Visual Studio Code Explorer icon. After you run cdk synth, you can refresh the AWS CDK Explorer view to update the display tree and reflect the changes you’ve made in your infrastructure.