Skip to content

AWS CDK

Contructs

A construct can represent a single AWS resource.

Apps

An app is a container for one or more stacks.

Stacks

The unit of deployment in the AWS CDK is called a stack. All AWS resources defined within the scope of a stack.

Each stack constructs one or more AWS resources. Stack within a single App can easily refer to each others' resources.

Commands:

bash
# List stack
cdk ls

# Synthesize 
cdk synth <stack>
# List stack
cdk ls

# Synthesize 
cdk synth <stack>