AWS CloudFormation is an infrastructure-as-code service for describing AWS resources in JSON or YAML templates and creating stacks that contain application infrastructure. section 9.1
Template-driven infrastructure
A YAML template can describe the desired AWS infrastructure; CloudFormation then creates or updates the corresponding stack. AWS SAM builds on CloudFormation for serverless applications, while AWS CDK generates CloudFormation templates from TypeScript or Python. section 9.1
CloudFormation fits into a broader infrastructure-as-code workflow:
- AWS services provide the infrastructure being provisioned, including compute, storage, and queueing services. section 9.1
- AWS SDKs, REST endpoints, and related tools communicate desired infrastructure changes to cloud providers. section 9.1

