Join us

A new simple approach to diagram as code on AWS with CDK and D2

A new simple approach to diagram as code on AWS with CDK and D2

The article discusses a new approach to generating diagrams from AWS resources using CDK annotations in code.

The goal of this approach is to create a clear and focused diagram that conveys the architecture's intention using only a few primary resources.

The article includes an example of a serverless architecture and explains how to use the CDK Construct ID as the title for resources rather than the CloudFormation logical ID.

The article also discusses synchronization and live rendering of the diagram during the CloudFormation deployment process.


Only registered users can post comments. Please, login or signup.

Start blogging about your favorite technologies, reach more readers and earn rewards!

Join other developers and claim your FAUN account now!

Avatar

The FAUN

@faun
A worldwide community of developers and DevOps enthusiasts!
User Popularity
3k

Influence

264k

Total Hits

1

Posts