Working with AWS cdk
CDK is opensource software development framework to model and provision your cloud application using familier languages. it provisions resources as Cloud-formation (Json document mentioning resources)
Setting-up environment-
- Install cdk
- Confirm installation : cdk –versoin
- Set the profile in c:/users/[username/]//.aws/credentials
cdk init- create a new cdk [choice of language preferably typescript] project
Command – cdk init -l typescript Here, -l option is for language in which cdk project to be created

Description of above files created :
- a bin sub-directory – which includes myapp-cdk.ts,the file contains the entry point for your cdk app.
- a lib sub-directory, which includes myapp-cdk-stack.ts file. this file contains the code for aws cdk stack
- a node_modules sub-directory,
- A test sub-directory,
- A cdk.json file,
- A jest.config.js file, which is used for jest testing.
- A package-lock.json file,
- A package.json file,
- A tsconfig.json file, [for description refer lab]