npm install -g aws-cdk
npm update -g aws-cdk
The cdk.json
file tells the CDK Toolkit how to execute your app.
It uses the .NET Core CLI to compile and execute your project.
-
dotnet build src
compile this app -
cdk deploy
deploy this stack to your default AWS account/region -
cdk deploy --profile PROFILE_NAME
deploy a stack with a specific AWS profile -
cdk diff
compare deployed stack with current state -
cdk synth
emits the synthesized CloudFormation template -
cdk destroy
destroy a stack -
cdk bootstrap
sets up an environment -
ckd-init
Initialize new projects