Skip to content

dannysteenman/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

If you're looking for expertise to elevate your cloud infrastructure, then don't hesitate to get in touch with me!

📚 Discover more about us

Towards the Cloud is a one-person agency with over 9 years of extensive hands-on experience in architecting and building highly scalable distributed systems on AWS Cloud using Infrastructure as Code for startups and enterprises.

Maximize your development speed by harnessing our expertise in crafting high-performance Cloud infrastructures.

Why Choose Towards the Cloud?

  • Expertise in AWS CDK: Leverage the full power of AWS Cloud Development Kit (AWS CDK) with our deep expertise. We architect and build infrastructure as code (IaC) solutions that are maintainable, scalable, and fully automated.
  • Tailored Solutions: Your business is unique, and so are your cloud needs. We provide personalized consultations and solutions tailored to perfectly align with your project requirements and business goals.
  • Cost-Effective and Efficient: Benefit from our streamlined processes and deep AWS knowledge to optimize costs without compromising on performance or security.
  • One-on-One Attention: As a one-person agency, Towards the Cloud guarantees you receive dedicated support and expertise directly from an AWS Cloud Engineer. This ensures high-quality deliverables and swift decision-making.
  • Seamless CI/CD: Empower your team to manage infrastructure changes confidently and efficiently through Pull Requests, leveraging the full power of GitHub Actions.

Schedule introduction call


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

  • Step 1. Install this extension
  • Step 2. Start working in your CDK project (TypeScript)
  • Step 3. Start adding L1 constructs in your code by using their prefix name e.g. l1-s3-bucket equals to L1 construct s3.CfnBucket

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

Looking to level up your infrastructure-as-code skills with the power of AWS CDK? Check out the AWS CDK Examples repository - a treasure trove of TypeScript-based solutions crafted by a seasoned cloud developer.


Support

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

Author

Danny Steenman