AWS CDK Workshop
1. New Project
Installing TypeScript
$ npm install -g typescriptMaking a New Directory
$ mkdir cdk-workshop && cd cdk-workshopCDK Init
chloe@chloe-XPS-15-9570 ~/Workspace/aws-test/cdk-workshop
$ cdk init sample-app --language typescript
Applying project template sample-app for typescript
Initializing a new git repository...
Executing npm install...
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
> core-js@2.6.11 postinstall /home/chloe/Workspace/aws-test/cdk-workshop/node_modules/core-js
> node -e "try{require('./postinstall')}catch(e){}"
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN cdk-workshop@0.1.0 No repository field.
npm WARN cdk-workshop@0.1.0 No license field.
added 254 packages from 184 contributors and audited 900 packages in 17.017s
29 packages are looking for funding
run `npm fund` for details
found 1 low severity vulnerability
run `npm audit fix` to fix them, or `npm audit` for details
β
Your CDK TypeScript project is ready!
cat README.md for next stepsProject Structure
2. CDK Application
Setting up
Analysis
3. CDK Concepts
1. CFN Resources (Level 1)
2. AWS Constructs (Level 2)
3. Patterns (Level 3)
4. CDK Synthesize
5. CDK Deploy
Environment Bootstrap
Deploying
CloudFormation Console


PreviousDevAx Connect - Managing EKS Cluster Fullstack with CDK (09/01/2020)NextAWS Builders - Cloud Economics
Last updated