- Projects/
- AWS DevOps Pro Certification/
- 2: Configuration Mgmt / Infrastructure as Code/
- 3: Containers and More/
3: AWS Cloud Development Kit
What’s the CDK?
- Framework to define and provision cloud infra in code
- Wrapper on top of CloudFormation
- Use the aws constructs library
Why use CDK?
- Much more concise than CloudFormation
- Write in Python / TypeScript / Java(Script) / Go / etc.
- Can fit in pipelines and automations like CF
How does CDK work?
- App
- Root of construct tree (like a folder)
- Consolidates all stacks in one app
- Stack
- Single unit holding constructs
- Can be used for development
- Construct
- Building block containing one or more AWS resources
- Reusable