Amazon Web Services
AWS CDK (Cloud Development Kit)
AWS infrastructure-as-code framework for defining resources in programming languages such as TypeScript, Python, Java, C# or Go. The code is synthesized into AWS CloudFormation templates, which are what actually deploy the resources.
On the exam
In SAA-C03 and SAP-C02 it is compared with CloudFormation: both are IaC and CloudFormation performs the deployment, but with CDK you write code with loops, conditionals and reusable components (constructs) instead of YAML or JSON. Question: the team wants to define infrastructure in TypeScript and deploy it with CloudFormation → AWS CDK.
Related terms
- AWS CloudFormationAWS's infrastructure-as-code (IaC) service. It defines AWS resources in YAML or JSON templates, and CloudFormation creates, updates, and deletes them in an orchestrated way. Resources are grouped into stacks.
- Azure Resource Manager (ARM)The management layer that processes every create, update, and delete request for Azure resources. It enables infrastructure as code through ARM templates (JSON) or Bicep.
- Terraform ResourceA configuration block that describes an infrastructure object (VM, bucket, database) that Terraform creates and manages. Syntax: resource "type" "local_name" { arguments }.