Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>AWS CloudFormation SnippetsNew to Visual Studio Code? Get it now.
AWS CloudFormation Snippets

AWS CloudFormation Snippets

Danny Steenman

towardsthecloud.com
|
100,713 installs
| (1) | Free
Adds snippets for all the AWS CloudFormation resources in VS Code.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

AWS CloudFormation Snippets for VS Code

Installs Rating

This CloudFormation Snippets extension equips Visual Studio Code with JSON and YAML snippets for all AWS CloudFormation and SAM resources - over 1250+ in total. It's your complete toolset for efficient CloudFormation template development.

[!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:

Deploying a Secure Landing Zone

  • Multi-account architecture with strict security boundaries
    • 100% score on CIS AWS Foundation Benchmark
    • 96% rating on AWS foundational security best practices
  • 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


Features

  1. Comprehensive Coverage: Offers snippets for all AWS CloudFormation and AWS SAM resources available - that's over 1250+ resources snippets at your fingertips!
  2. Complete Property Support: Includes all nested properties for each resource, ensuring you have access to every configurable aspect of your AWS resources.
  3. Documentation Hover Links: Quickly access AWS CloudFormation resource and property documentation by hovering over resource types and property names in your templates.
  4. Flexible Template Support: Seamlessly works with both YAML and JSON CloudFormation templates.
  5. Efficient Autocomplete: Simply type the resource name (e.g., ec2-instance) to instantly load the corresponding snippet for AWS::EC2::Instance.
  6. Rich Feature Set: Incorporates intrinsic functions, conditions, and diverse parameter types for robust template creation.
  7. Enhanced Navigation: Features placeholders that enable swift movement through resource properties.
  8. Resource Documentation: Each snippet is linked to its official AWS documentation, providing quick access to detailed information.
  9. Up-to-Date: Regularly refreshed on a weekly basis to reflect the latest CloudFormation Resource Specification.
  10. Gitpod Ready: Made available on the Open VSX Registry to ensure compatibility with Gitpod.

Usage

  1. Install the CloudFormation Snippets extension in VS Code.
  2. Create a new .yml or .json file.
  3. Ensure the file type is set to "YAML" or "JSON" in the bottom right corner of VS Code.
  4. Type cfn to insert the basic CloudFormation template structure.
  5. Add resources using their short prefix (e.g. s3-bucket for AWS::S3::Bucket).

Example of auto-completion in action:

CloudFormation Snippets example

and an example of the hover information:

IAM Actions Snippets Hover Example

Note: Once you start typing a prefix (explained in step 5), the corresponding snippet will show 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 5).


AWS CloudFormation Starterkit

We've developed the AWS CloudFormation Starterkit to streamline your infrastructure setup using CloudFormation.

It comes with pre-configured templates, automated validation scripts, and seamless integration with CI/CD pipelines, you'll be able to deploy robust, scalable, and secure AWS environments with ease.

The starterkit empowers you to adopt best practices effortlessly. By leveraging tools like Checkov for security compliance and cfn-lint for template validation, you ensure that your infrastructure is both reliable and secure.


Support

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

Author

Danny Steenman

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft