cdk workshop is for developers to learn deployment using popular lib aws cdk https://aws.amazon.com/cdk/
The purpose of this repo is to outline basics for CDK, we will talk how you can be up and running with cdk on your dev (personal recommendation use mac) environment.
Table of Contents generated with DocToc
- Getting Started
- How to install CDK?
- Bootstrap CDK project
- namespace & context
- Typical cdk project structure
- Workshop Outline
- Reference
The AWS Cloud Development Kit (AWS CDK) is an open source software development framework to model and provision your cloud application resources using familiar programming languages.
It supports following languages :
- Typescript (We are going to use typescript)
- javascript
- C#
- Python
- Java
npm install -g aws-cdk
cdk --version
mkdir firstcdkapp
cd firstcdkapp
cdk init --language typescript
.
├── README.md
├── bin
│ └── firstcdkapp.ts
├── cdk.json
├── jest.config.js
├── lib
│ └── firstcdkapp-stack.ts
├── package-lock.json
├── package.json
├── test
│ └── firstcdkapp.test.ts
└── tsconfig.json
There are number of workshop in this repo.
- workshop-01-dynamodb-namespace
- workshop-02-sns-sqs --> Exercise
- workshop-03-lambda
- workshop-04-lambda-event -->Exercise
- workshop-06-nested-stack
- z-advanced-workshop-01-construct -->Exercise
- getting started cdk - https://docs.aws.amazon.com/cdk/latest/guide/getting_started.html