This extension adds L1 Construct snippets from AWS CDK in Visual Studio Code.
Tip
Stop AWS bill surprises from happening.
Most infrastructure changes look harmless until you see next month's AWS bill. CloudBurn prevents this by analyzing the cost impact of your AWS CDK changes directly in GitHub pull requests, catching expensive mistakes during code review when fixes are quick, not weeks later when they're costly and risky.
💰 Set it up once, then never be surprised by AWS costs again
- First install the free CDK Diff PR Commenter GitHub Action in your repository where you build your AWS CDK infrastructure
- Then install the CloudBurn GitHub App on the same repository
What happens now:
Whenever you open a PR with infrastructure changes, the GitHub Action comments with your CDK diff analysis. CloudBurn reads that diff and automatically adds a separate comment with a detailed cost report showing:
- Monthly cost impact – Will this change increase or decrease your AWS bill? By how much?
- Per-resource breakdown – See exactly which resources are driving costs (old vs. new monthly costs)
- Region-aware pricing – We pick the right AWS pricing based on the region where your infrastructure is deployed
Your team can now validate cost impact alongside infrastructure changes during code review. Essentially, this shifts FinOps left where you optimize costs as you code, not weeks later when context is lost and production adjustments require more time and carry added risk.
CloudBurn will be free during beta. After launch, a free Community plan (1 repository with unlimited users) will always be available.
- Added support for L1 constructs snippets in AWS CDK Python! Open up a CDK Python project and type
l1to trigger the L1 construct autocomplete.
- Comprehensive Support: Seamlessly integrates all CloudFormation resources as L1 constructs within CDK, ensuring you have access to the latest AWS offerings.
- Effortless Autocomplete: Activate autocomplete with
l1-<cloudformation-resource>to streamline your coding process. - Weekly Updates: Construct snippets are refreshed weekly in line with AWS's updates to their CloudFormation Resource Specification, keeping you on the cutting edge.
- Placeholder Support: Navigate efficiently through resource properties using the
Tabkey, thanks to built-in placeholder functionality. - Required Property Highlighting: Easily identify mandatory properties, highlighted with a
// requiredcomment for your convenience. - Documentation at Your Fingertips: Access the corresponding CDK resource documentation directly from the autocomplete prompt, enriching your development experience.
- Install the CDK Snippets extension in VS Code.
- Open your CDK project (TypeScript or Python).
- Add L1 constructs using their short prefix (e.g.
l1-s3-bucketfors3.CfnBucket).
Example:
Note: Once you start typing a prefix (explained in step 3), the corresponding snippet shows up in the dropdown menu. If this doesn't happen automatically, press
ctrl + spaceto invoke IntelliSense and search for the prefix of the resource type that you want to add (as listed in step 3).
Explore our AWS CDK Examples repository - a rich collection of TypeScript-based solutions that bring your cloud architecture to life. Crafted by a seasoned AWS professional.
If you have a feature request or an issue, please let me know on Github
