{"id":48927425,"url":"https://github.com/towardsthecloud/vscode-sam-snippets","last_synced_at":"2026-04-17T07:32:04.075Z","repository":{"id":233111128,"uuid":"786037687","full_name":"towardsthecloud/vscode-sam-snippets","owner":"towardsthecloud","description":"This extension adds AWS SAM snippets into Visual Studio Code.","archived":false,"fork":false,"pushed_at":"2025-12-05T08:51:59.000Z","size":107,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-22T10:25:05.524Z","etag":null,"topics":["amazon-web-services","aws","aws-sam","cloudformation","sam","serverless","snippets","vscode","vscode-extension","vscode-snippets","yaml"],"latest_commit_sha":null,"homepage":"https://marketplace.visualstudio.com/items?itemName=dannysteenman.sam-snippets","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/towardsthecloud.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"dannysteenman"}},"created_at":"2024-04-13T08:31:58.000Z","updated_at":"2025-12-05T08:52:01.000Z","dependencies_parsed_at":"2024-04-14T00:29:45.086Z","dependency_job_id":"e1bec767-d49e-4c96-a901-d146774fcada","html_url":"https://github.com/towardsthecloud/vscode-sam-snippets","commit_stats":null,"previous_names":["dannysteenman/vscode-sam-snippets","towardsthecloud/vscode-sam-snippets"],"tags_count":17,"template":false,"template_full_name":null,"purl":"pkg:github/towardsthecloud/vscode-sam-snippets","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/towardsthecloud%2Fvscode-sam-snippets","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/towardsthecloud%2Fvscode-sam-snippets/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/towardsthecloud%2Fvscode-sam-snippets/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/towardsthecloud%2Fvscode-sam-snippets/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/towardsthecloud","download_url":"https://codeload.github.com/towardsthecloud/vscode-sam-snippets/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/towardsthecloud%2Fvscode-sam-snippets/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31919943,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T18:22:33.417Z","status":"online","status_checked_at":"2026-04-17T02:00:06.879Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["amazon-web-services","aws","aws-sam","cloudformation","sam","serverless","snippets","vscode","vscode-extension","vscode-snippets","yaml"],"created_at":"2026-04-17T07:31:59.993Z","updated_at":"2026-04-17T07:32:04.060Z","avatar_url":"https://github.com/towardsthecloud.png","language":"Python","funding_links":["https://github.com/sponsors/dannysteenman"],"categories":[],"sub_categories":[],"readme":"# AWS Serverless Application Model (SAM) Snippets for VS Code\n\n[![](https://img.shields.io/visual-studio-marketplace/v/dannysteenman.sam-snippets?color=374151\u0026label=Visual%20Studio%20Marketplace\u0026labelColor=000\u0026logo=visual-studio-code\u0026logoColor=0098FF)](https://marketplace.visualstudio.com/items?itemName=dannysteenman.sam-snippets)\n[![](https://img.shields.io/visual-studio-marketplace/v/dannysteenman.sam-snippets?color=374151\u0026label=Open%20VSX%20Registry\u0026labelColor=000\u0026logo=data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPHN2ZyB2aWV3Qm94PSI0LjYgNSA5Ni4yIDEyMi43IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgogIDxwYXRoIGQ9Ik0zMCA0NC4yTDUyLjYgNUg3LjN6TTQuNiA4OC41aDQ1LjNMMjcuMiA0OS40em01MSAwbDIyLjYgMzkuMiAyMi42LTM5LjJ6IiBmaWxsPSIjYzE2MGVmIi8+CiAgPHBhdGggZD0iTTUyLjYgNUwzMCA0NC4yaDQ1LjJ6TTI3LjIgNDkuNGwyMi43IDM5LjEgMjIuNi0zOS4xem01MSAwTDU1LjYgODguNWg0NS4yeiIgZmlsbD0iI2E2MGVlNSIvPgo8L3N2Zz4=\u0026logoColor=0098FF)](https://open-vsx.org/extension/dannysteenman/sam-snippets)\n[![Installs](https://img.shields.io/visual-studio-marketplace/i/dannysteenman.sam-snippets 'Currently Installed')](https://marketplace.visualstudio.com/items?itemName=dannysteenman.sam-snippets)\n[![Rating](https://img.shields.io/visual-studio-marketplace/stars/dannysteenman.sam-snippets)](https://marketplace.visualstudio.com/items?itemName=dannysteenman.sam-snippets)\n\nThis extension adds YAML snippets for **all** [AWS Serverless Application Model (SAM) resources](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-specification-resources-and-properties.html) into Visual Studio Code.\n\n\u003c!-- TIP-LIST:START --\u003e\n\u003e [!TIP]\n\u003e **Stop AWS bill surprises from happening.**\n\u003e\n\u003e Most infrastructure changes look harmless until you see next month's AWS bill. [CloudBurn](https://cloudburn.io) 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.\n\u003e\n\u003e \u003ca href=\"https://github.com/marketplace/cloudburn-io\"\u003e\u003cimg alt=\"Install CloudBurn from GitHub Marketplace\" src=\"https://img.shields.io/badge/Install%20CloudBurn-GitHub%20Marketplace-brightgreen.svg?style=for-the-badge\u0026logo=github\"/\u003e\u003c/a\u003e\n\u003e\n\u003e \u003cdetails\u003e\n\u003e \u003csummary\u003e💰 \u003cstrong\u003eSet it up once, then never be surprised by AWS costs again\u003c/strong\u003e\u003c/summary\u003e\n\u003e \u003cbr/\u003e\n\u003e\n\u003e 1. **First install the free [CDK Diff PR Commenter GitHub Action](https://github.com/marketplace/actions/aws-cdk-diff-pr-commenter)** in your repository where you build your AWS CDK infrastructure\n\u003e 2. **Then install the [CloudBurn GitHub App](https://github.com/marketplace/cloudburn-io)** on the same repository\n\u003e\n\u003e **What happens now:**\n\u003e\n\u003e 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:\n\u003e - **Monthly cost impact** – Will this change increase or decrease your AWS bill? By how much?\n\u003e - **Per-resource breakdown** – See exactly which resources are driving costs (old vs. new monthly costs)\n\u003e - **Region-aware pricing** – We pick the right AWS pricing based on the region where your infrastructure is deployed\n\u003e\n\u003e 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.\n\u003e\n\u003e CloudBurn will be free during beta. After launch, a free Community plan (1 repository with unlimited users) will always be available.\n\u003e\n\u003e \u003c/details\u003e\n\u003c!-- TIP-LIST:END --\u003e\n\n---\n## Features\n\n1. Adds support for the following SAM resource types:\n\n```YAML\n    AWS::Serverless::Api\n    AWS::Serverless::Application\n    AWS::Serverless::Connector\n    AWS::Serverless::Function\n    AWS::Serverless::GraphQLApi\n    AWS::Serverless::HttpApi\n    AWS::Serverless::LayerVersion\n    AWS::Serverless::SimpleTable\n    AWS::Serverless::StateMachine\n```\n\n2. Includes intrinsic functions, conditions, and a variety of parameter types.\n3. Utilizes placeholders for quick navigation within the properties of each resource.\n4. Provides documentation links for each resource.\n5. Available on the [Open VSX Registry](https://open-vsx.org/extension/dannysteenman/sam-snippets) for Gitpod support.\n\n## Usage\n\n* **Step 1.** Install this extension\n* **Step 2.** create a `.yml` file to start working on your AWS SAM project.\n* **Step 3.** Check in the bottom right-hand corner of the VS Code editor that the file type is listed as \"YAML\".\n* **Step 4.** To start with the basic template structure, type `sam` to get the YAML formatted template fragment.\n* **Step 5.** Start adding resources in the resource section by using their prefix name e.g. ```serverless-api``` equals resource type ```AWS::Serverless::Api```\n\n\u003e **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).\n\n---\n## AWS CloudFormation Snippets for VS Code\n\nIf you use AWS CloudFormation to manage your infrastructure as code, check out the [CloudFormation Snippets](https://marketplace.visualstudio.com/items?itemName=dannysteenman.cloudformation-yaml-snippets) VS Code extension. This extension provides comprehensive coverage, including snippets for:\n\n- All AWS CloudFormation resources\n- All AWS Serverless Application Model (SAM) resource types\n\nThe snippets support both YAML and JSON CloudFormation templates, streamlining your infrastructure development workflow.\n\n**Key features include:**\n- Autocomplete by simply typing the resource name (e.g., `ec2-instance`)\n- Intrinsic functions, conditions, and a wide variety of parameter types\n- Placeholders for quick navigation within each resource\n- Inline documentation links for each resource\n- Automatic weekly updates with the latest CloudFormation Resource Specification\n\n---\n## Support\n\nIf you have a feature request or an issue, please let me know on [Github](https://github.com/towardsthecloud/vscode-sam-snippets/issues)\n\n## Author\n\n[Danny Steenman](https://towardsthecloud.com/about)\n\n[![](https://img.shields.io/badge/LinkedIn-0077B5?style=for-the-badge\u0026logo=linkedin\u0026logoColor=white)](https://www.linkedin.com/company/towardsthecloud)\n[![](https://img.shields.io/badge/X-000000?style=for-the-badge\u0026logo=x\u0026logoColor=white)](https://twitter.com/dannysteenman)\n[![](https://img.shields.io/badge/GitHub-2b3137?style=for-the-badge\u0026logo=github\u0026logoColor=white)](https://github.com/towardsthecloud)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftowardsthecloud%2Fvscode-sam-snippets","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftowardsthecloud%2Fvscode-sam-snippets","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftowardsthecloud%2Fvscode-sam-snippets/lists"}