https://github.com/dannysteenman/vscode-cdk-snippets
This extension adds L1 construct snippets from AWS CDK into Visual Studio Code.
https://github.com/dannysteenman/vscode-cdk-snippets
amazon-web-services aws aws-cdk cdk-constructs snippets typescript visual-studio-code vscode vscode-extension vscode-snippets
Last synced: 6 months ago
JSON representation
This extension adds L1 construct snippets from AWS CDK into Visual Studio Code.
- Host: GitHub
- URL: https://github.com/dannysteenman/vscode-cdk-snippets
- Owner: dannysteenman
- License: apache-2.0
- Created: 2021-05-04T06:07:12.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-09-13T11:24:11.000Z (7 months ago)
- Last Synced: 2024-09-14T01:18:59.658Z (7 months ago)
- Topics: amazon-web-services, aws, aws-cdk, cdk-constructs, snippets, typescript, visual-studio-code, vscode, vscode-extension, vscode-snippets
- Language: Python
- Homepage: https://marketplace.visualstudio.com/items?itemName=dannysteenman.cdk-snippets
- Size: 62.4 MB
- Stars: 10
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: .github/CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# AWS CDK Construct Snippets for VS Code
[](https://marketplace.visualstudio.com/items?itemName=dannysteenman.cdk-snippets)
[](https://open-vsx.org/extension/dannysteenman/cdk-snippets)
[](https://marketplace.visualstudio.com/items?itemName=dannysteenman.cdk-snippets)
[](https://marketplace.visualstudio.com/items?itemName=dannysteenman.cdk-snippets)This extension adds L1 Construct snippets from AWS CDK in Visual Studio Code.
> [!TIP]
> Struggling with AWS complexity or stuck on-premise? Let's transform your cloud journey.
>
> [Schedule a call with me](https://towardsthecloud.com/contact) to find out how I can enhance your existing AWS setup or guide your journey from on-premise to the Cloud.
>
> ☁️ Discover more about my one-person business: Towards the Cloud
>
>
>
> Hi, I'm Danny – AWS expert and founder of [Towards the Cloud](https://towardsthecloud.com). With over a decade of hands-on experience, I specialized myself in deploying well-architected, highly scalable and cost-effective AWS Solutions using Infrastructure as Code (IaC).
>
> #### When you work with me, you're getting a package deal of expertise and personalized service:
>
> - **AWS CDK Proficiency**: I bring deep AWS CDK knowledge to the table, ensuring your infrastructure is not just maintainable and scalable, but also fully automated.
> - **AWS Certified**: [Equipped with 7 AWS Certifications](https://www.credly.com/users/dannysteenman/badges), including DevOps Engineer & Solutions Architect Professional, to ensure best practices across diverse cloud scenarios.
> - **Direct Access**: You work with me, not a team of managers. Expect quick decisions and high-quality work.
> - **Tailored Solutions**: Understanding that no two businesses are alike, I Custom-fit cloud infrastructure for your unique needs.
> - **Cost-Effective**: I'll optimize your AWS spending without cutting corners on performance or security.
> - **Seamless CI/CD**: I'll set up smooth CI/CD processes using GitHub Actions, making changes a breeze through Pull Requests.
>
> *My mission is simple: I'll free you from infrastructure headaches so you can focus on what truly matters – your core business.*
>
> Ready to unlock the full potential of AWS Cloud?
>
>![]()
>---
## 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-` to streamline your coding process.
3. **Weekly Updates**: Construct snippets are refreshed weekly in line with AWS's updates to their [CloudFormation Resource Specification](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-resource-specification.html), 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](https://marketplace.visualstudio.com/items?itemName=dannysteenman.cdk-snippets) 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:

> **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](https://github.com/dannysteenman/aws-cdk-examples) - a rich collection of TypeScript-based solutions that bring your cloud architecture to life. Crafted by a seasoned AWS professional.
---
## SupportIf you have a feature request or an issue, please let me know on [Github](https://github.com/dannysteenman/vscode-cdk-snippets/issues)
## Author
[Danny Steenman](https://towardsthecloud.com/about)
[](https://www.linkedin.com/in/dannysteenman)
[](https://twitter.com/dannysteenman)
[](https://github.com/dannysteenman)