You are on page 1of 1

lib/cdk-workshop-stack.

ts --> CDK application main stack


bin/cdk-workshop.ts --> entrypoint of the CDK application, it will load the stack
defined in lib/cdk-workshop-stack.ts
package.json --> includes information like the name of your app, version,
dependencies and build scripts like “watch” and “build”
cdk.json -->

Steps--
cdk init --> Synth --> Bootstrap (one time) --> Deploy

Commands
$ cdk --version
1.115.0 (build f0ca40f)
$ npm install -g aws-cdk --force

cdk init --list (lists available templates)


cdk init --> to create a new AWS CDK TypeScript project.
cdk init sample-app --language typescript

cdk synth --> they produce (or “synthesize”, in CDK parlance) an AWS
CloudFormation template for each stack defined in your application.
cdk diff
cdk deploy

npm install @aws-cdk/aws-lambda -> install lambda construct library

You might also like