In this step we will create a new CDK project from the sample-app
template:
Make a new directory named cdk-workshop
and cd to it:
mkdir cdk-workshop
cd cdk-workshop
Remember this directory name cdk-workshop
. cdk uses this directory name to hard-code information about the CDK app/stack.
[Optional] Check the available template that CDK init supports:
cdk init --list
Use cdk init
to create a new CDK project with the sample-app
template in TypeScript:
cdk init sample-app --language=typescript