Skip to content

towardsthecloud/vscode-cdk-snippets

Repository files navigation

AWS CDK Construct Snippets for VS Code

Installs Rating

This extension adds L1 Construct snippets from AWS CDK in Visual Studio Code.

Tip

AWS Done Right: Ship Faster, More Securely, at Lower Cost! Our AWS CDK Landing Zone Service helps B2B startups & enterprises achieve SOC 2 compliance 90% faster, reclaim 30% of developer capacity for product innovation while eliminating six-figure Cloud Engineering costs.

Discover how we deliver 10x AWS infrastructure value while cutting costs.

Book your free intro call

☁️ Learn more how we help businesses succeed on AWS Cloud...

AWS promises simplicity but delivers complexity. Businesses struggle with security risks and compliance requirements that divert developers from core product work.

Without AWS expertise, you face vulnerabilities, technical debt, and market delays while competitors race ahead.

Traditional consultancies worsen this by prioritizing billable hours over outcomes.

We take the opposite approach, focusing exclusively on business outcomes by eliminating AWS complexity, accelerating your developers, and securing your infrastructure through:

  • Multi-account architecture with strict security boundaries
  • Manage user access securely on AWS via Single Sign-On (SSO)
  • Full AWS CDK implementation (Infrastructure as Code)
  • Multi-region deployments supported
  • Cross-account monitoring and security alerts
  • View our Roadmap for all implemented and upcoming features

Upskilling and accelerating your developers

  • They get access to our production-ready, security-hardened AWS CDK components
  • They receive AWS best practices guidance to prevent technical debt

Providing support and maintenance

  • Landing Zone gets updates and security patches
  • Priority Slack/Teams support for infrastructure challenges
  • Quarterly security and cost optimization assessments to stay compliant and reduce AWS costs

What This Means For Your Business

  • 30% Lower TCO: Cut Total Cost by 40% through right-sized resources while eliminating the $150K+ cost of a specialized AWS hire.
  • Accelerate Development: Redirect 30% of engineering time from infrastructure to revenue-generating features with pre-built, compliant CDK components.
  • Compliance-Ready Infrastructure: Meet security requirements from day one with architecture that speeds up audit preparation by 90% for SOC 2, HIPAA, and other security frameworks.

All of this is included in a fixed monthly subscription. No lock-in, no large upfront costs, just predictable monthly pricing.

Book a free call to see how we deliver 10x AWS infrastructure value at a fraction of a Cloud Engineer's cost.

Book your free introduction call


New in version 2!

  • Added support for L1 constructs snippets in AWS CDK Python! Open up a CDK Python project and type l1 to trigger the L1 construct autocomplete.

Features

  1. Comprehensive Support: Seamlessly integrates all CloudFormation resources as L1 constructs within CDK, ensuring you have access to the latest AWS offerings.
  2. Effortless Autocomplete: Activate autocomplete with l1-<cloudformation-resource> to streamline your coding process.
  3. Weekly Updates: Construct snippets are refreshed weekly in line with AWS's updates to their CloudFormation Resource Specification, keeping you on the cutting edge.
  4. Placeholder Support: Navigate efficiently through resource properties using the Tab key, thanks to built-in placeholder functionality.
  5. Required Property Highlighting: Easily identify mandatory properties, highlighted with a // required comment for your convenience.
  6. Documentation at Your Fingertips: Access the corresponding CDK resource documentation directly from the autocomplete prompt, enriching your development experience.

Usage

  1. Install the CDK Snippets extension in VS Code.
  2. Open your CDK project (TypeScript or Python).
  3. Add L1 constructs using their short prefix (e.g. l1-s3-bucket for s3.CfnBucket).

Example:

CDK Construct Snippets 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 + space to invoke IntelliSense and search for the prefix of the resource type that you want to add (as listed in step 3).


AWS CDK Examples

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.


Support

If you have a feature request or an issue, please let me know on Github

Author

Danny Steenman

Sponsor this project

 

Contributors 2

  •  
  •  

Languages