{"id":19621197,"url":"https://github.com/dannysteenman/vscode-sam-snippets","last_synced_at":"2025-02-26T18:45:46.828Z","repository":{"id":233111128,"uuid":"786037687","full_name":"dannysteenman/vscode-sam-snippets","owner":"dannysteenman","description":"This extension adds AWS SAM snippets into Visual Studio Code.","archived":false,"fork":false,"pushed_at":"2024-04-15T07:06:20.000Z","size":49,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-05-02T04:16:26.542Z","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/dannysteenman.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},"funding":{"github":"dannysteenman"}},"created_at":"2024-04-13T08:31:58.000Z","updated_at":"2024-05-28T16:20:28.747Z","dependencies_parsed_at":"2024-04-14T00:29:45.086Z","dependency_job_id":"e1bec767-d49e-4c96-a901-d146774fcada","html_url":"https://github.com/dannysteenman/vscode-sam-snippets","commit_stats":null,"previous_names":["dannysteenman/vscode-sam-snippets"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dannysteenman%2Fvscode-sam-snippets","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dannysteenman%2Fvscode-sam-snippets/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dannysteenman%2Fvscode-sam-snippets/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dannysteenman%2Fvscode-sam-snippets/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dannysteenman","download_url":"https://codeload.github.com/dannysteenman/vscode-sam-snippets/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240914933,"owners_count":19878065,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":"2024-11-11T11:21:50.444Z","updated_at":"2025-02-26T18:45:46.282Z","avatar_url":"https://github.com/dannysteenman.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\u003e [!TIP]\n\u003e Struggling with AWS complexity or stuck on-premise? Let's transform your cloud journey.\n\u003e\n\u003e [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.\n\u003e\n\u003e \u003cdetails\u003e\u003csummary\u003e☁️ \u003cstrong\u003eDiscover more about my one-person business: Towards the Cloud\u003c/strong\u003e\u003c/summary\u003e\n\u003e\n\u003e \u003cbr/\u003e\n\u003e\n\u003e 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).\n\u003e\n\u003e #### When you work with me, you're getting a package deal of expertise and personalized service:\n\u003e\n\u003e - **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.\n\u003e - **AWS Certified**: [Equipped with 7 AWS Certifications](https://www.credly.com/users/dannysteenman/badges), including DevOps Engineer \u0026 Solutions Architect Professional, to ensure best practices across diverse cloud scenarios.\n\u003e - **Direct Access**: You work with me, not a team of managers. Expect quick decisions and high-quality work.\n\u003e - **Tailored Solutions**: Understanding that no two businesses are alike, I Custom-fit cloud infrastructure for your unique needs.\n\u003e - **Cost-Effective**: I'll optimize your AWS spending without cutting corners on performance or security.\n\u003e - **Seamless CI/CD**: I'll set up smooth CI/CD processes using GitHub Actions, making changes a breeze through Pull Requests.\n\u003e\n\u003e *My mission is simple: I'll free you from infrastructure headaches so you can focus on what truly matters – your core business.*\n\u003e\n\u003e Ready to unlock the full potential of AWS Cloud?\n\u003e\n\u003e \u003ca href=\"https://towardsthecloud.com/contact\"\u003e\u003cimg alt=\"Schedule your call\" src=\"https://img.shields.io/badge/schedule%20your%20call-success.svg?style=for-the-badge\"/\u003e\u003c/a\u003e\n\u003e \u003c/details\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/dannysteenman/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/in/dannysteenman)\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/dannysteenman)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdannysteenman%2Fvscode-sam-snippets","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdannysteenman%2Fvscode-sam-snippets","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdannysteenman%2Fvscode-sam-snippets/lists"}