Skip to content

Latest commit

 

History

History

CDK

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

AWS Cloud Development Kit (CDK)


Quick start

# List the available template types & languages
cdk init --list

# Start a new CDK project (app or library)
cdk init --language python

# E.g. Install package for S3 
pip install aws-cdk.aws-s3

# Access the online documentation
cdk docs

# List stacks in an application
cdk list
cdk ls

# Synthesize a CDK app to CloudFormation template(s)
cdk synthesize
cdk synth

# Diff stacks against current state
cdk diff

# Deploy a stack into an AWS account
cdk deploy 	

# Deletes a stack from an AWS account
cdk destroy

# Deploy a toolkit stack to support deploying large stacks & artifacts
cdk bootstrap

# Inspect the environment and produce information useful for troubleshooting
cdk doctor