Introducing AWS CDK
CDK is not the first attempt to generate CloudFormation templates with high-level programming languages. Since writing complex CloudFormation templates can be a long-running task with many repetitive actions, developers were interested in finding a different way of generating templates.
One of those ways was a Python framework called Troposphere, developed by the Cloudtools team and released in 2013 (https://github.com/cloudtools/troposphere). Another attempt was made by AWS Labs in 2017, when they released a similar library named GoFormation, written in Golang (https://github.com/awslabs/goformation).
In the end, AWS came up with a framework that not only provided a full infrastructure-as-code experience, but also supported multiple programming languages. This framework was called AWS Cloud Development Kit, or CDK.
CDK supports the following programming languages:
- TypeScript
- JavaScript
- Python
- C#
- Java
CDK's team promises...