# aws/serverless-application-model

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/aws-serverless-application-model).**

9,560 stars · 2,455 forks · Python · Apache-2.0

## Links

- GitHub: https://github.com/aws/serverless-application-model
- Homepage: https://aws.amazon.com/serverless/sam
- awesome-repositories: https://awesome-repositories.com/repository/aws-serverless-application-model.md

## Topics

`aws` `aws-sam` `lambda` `sam` `sam-specification` `serverless` `serverless-application-model` `serverless-applications`

## Description

This is an infrastructure as code tool and serverless deployment orchestrator that provides a shorthand syntax for defining serverless infrastructure. It functions as a framework for transforming concise resource declarations into full AWS CloudFormation templates to automate the provisioning of cloud functions, APIs, and databases.

The project distinguishes itself by using a macro-based transformation system to expand simplified resource types into detailed infrastructure components. It includes an automated permission mapping system that translates high-level resource interaction intents into scoped identity and access management policies.

The toolset covers local development and testing through containerized simulation and function invocation, as well as deployment automation including real-time cloud syncing and stack parameterization. It also provides operational capabilities for manual resource import and resource output exporting for cross-stack integration.

## Tags

### DevOps & Infrastructure

- [Serverless Deployment](https://awesome-repositories.com/f/devops-infrastructure/serverless-deployment.md) — Provides a framework for transforming simplified templates and provisioning corresponding serverless cloud resources. ([source](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-getting-started-hello-world.html))
- [Serverless Provisioning](https://awesome-repositories.com/f/devops-infrastructure/serverless-deployment/serverless-provisioning.md) — Provides a shorthand syntax for defining and provisioning serverless functions, APIs, and databases. ([source](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-resource-function.html))
- [CloudFormation Templates](https://awesome-repositories.com/f/devops-infrastructure/cloud-infrastructure-deployment/managed-infrastructure-deployment/infrastructure-deployment-provisioning/cloudformation-templates.md) — Automates the generation and deployment of AWS CloudFormation templates using macros and transforms to reduce boilerplate.
- [Declarative Infrastructure Provisioning](https://awesome-repositories.com/f/devops-infrastructure/cloud-infrastructure-deployment/managed-infrastructure-deployment/infrastructure-deployment-provisioning/declarative-infrastructure-provisioning.md) — Automates cloud provisioning by mapping concise, declarative resource definitions to full infrastructure specifications.
- [AWS Provisioners](https://awesome-repositories.com/f/devops-infrastructure/cloud-provisioning/aws-provisioners.md) — Automates the creation and management of Amazon Web Services functions, databases, and event sources.
- [Declarative Infrastructure Templates](https://awesome-repositories.com/f/devops-infrastructure/declarative-infrastructure-templates.md) — Translates concise serverless resource declarations into comprehensive AWS CloudFormation infrastructure templates. ([source](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/what-is-sam.html))
- [Infrastructure as Code Frameworks](https://awesome-repositories.com/f/devops-infrastructure/infrastructure-as-code-frameworks.md) — Provides a declarative system for managing cloud resources through version-controlled configuration files.
- [Infrastructure Configuration Templates](https://awesome-repositories.com/f/devops-infrastructure/infrastructure-configuration-templates.md) — Transforms shorthand definitions into full infrastructure templates to reduce boilerplate and simplify configuration. ([source](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-macros.html))
- [Infrastructure Syntax Expansions](https://awesome-repositories.com/f/devops-infrastructure/infrastructure-syntax-expansions.md) — Converts simplified resource types into detailed standard infrastructure components prior to deployment.
- [Resource Definitions](https://awesome-repositories.com/f/devops-infrastructure/resource-definitions.md) — Allows specifying infrastructure components and properties using unique identifiers to automate stack provisioning. ([source](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-anatomy.html))
- [Cloud Function Invocation Tools](https://awesome-repositories.com/f/devops-infrastructure/cloud-function-invocation-tools.md) — Provides a command-line utility to trigger and test hosted cloud functions directly from a local environment. ([source](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-getting-started-hello-world.html))
- [Local Serverless Testing](https://awesome-repositories.com/f/devops-infrastructure/cloud-infrastructure/cloud-computing-serverless/serverless-execution-environments/serverless-function-runtimes/local-serverless-testing.md) — Provides a local runtime environment for simulating and testing serverless functions using containers.
- [Conditional Resource Deployment](https://awesome-repositories.com/f/devops-infrastructure/conditional-resource-deployment.md) — Implements logic to include or exclude specific infrastructure resources based on the target environment. ([source](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-specification-template-anatomy.html))
- [Infrastructure-as-Code Workflows](https://awesome-repositories.com/f/devops-infrastructure/infrastructure/infrastructure-as-code/orchestration-and-workflows/infrastructure-as-code-workflows.md) — Enables managing cloud environments through version-controlled templates with parameterization and conditional resource deployment.
- [Real-time Infrastructure Syncing](https://awesome-repositories.com/f/devops-infrastructure/real-time-infrastructure-syncing.md) — Pushes local code updates to a remote environment in real-time to accelerate testing cycles. ([source](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/what-is-sam.html))
- [Serverless Development Environments](https://awesome-repositories.com/f/devops-infrastructure/serverless-development-environments.md) — Facilitates the local development, testing, and debugging of cloud-native serverless functions.

### Security & Cryptography

- [Automated Policy Mappings](https://awesome-repositories.com/f/security-cryptography/access-assignment-analyzers/scoped-permission-assignments/automated-policy-mappings.md) — Automatically translates high-level resource interaction intents into scoped identity and access management policies.
- [Resource Permission Mapping](https://awesome-repositories.com/f/security-cryptography/ldap-services/role-mapping/resource-permission-mapping.md) — Maps intended resource interactions to specific identity and access management roles and policies. ([source](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/what-is-sam.html))
- [Scoped Permission Assignments](https://awesome-repositories.com/f/security-cryptography/access-assignment-analyzers/scoped-permission-assignments.md) — Scopes function and state machine permissions using curated policy templates to restrict resource access. ([source](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-policy-templates.html))
- [Data Access Policies](https://awesome-repositories.com/f/security-cryptography/data-source-access-management/data-access-policies.md) — Creates specific access policies between source and destination resources to facilitate secure data and event flows. ([source](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/managing-permissions-connectors.html))
- [Automated Permission Mappings](https://awesome-repositories.com/f/security-cryptography/policy-based-access-control/automated-permission-mappings.md) — Automatically translates high-level interaction intents into scoped identity and access management policies.

### Software Engineering & Architecture

- [Template Macros](https://awesome-repositories.com/f/software-engineering-architecture/application-lifecycle-management/configuration-management/automation-and-templating-frameworks/template-macros.md) — Uses server-side macros to expand shorthand template syntax into comprehensive resource definitions.
- [Runtime Parameter Configurators](https://awesome-repositories.com/f/software-engineering-architecture/default-configuration-values/execution-parameter-configurations/application-parameter-configurators/runtime-parameter-configurators.md) — Allows the definition and passing of input values during deployment to customize infrastructure behavior. ([source](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-specification-template-anatomy.html))
- [Parameterized Configuration Components](https://awesome-repositories.com/f/software-engineering-architecture/parameterized-configuration-components.md) — Accepts runtime values during stack creation to customize configurations without altering the template code. ([source](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-anatomy.html))

### Web Development

- [Infrastructure Shorthand Frameworks](https://awesome-repositories.com/f/web-development/infrastructure-shorthand-frameworks.md) — Implements a shorthand syntax for defining serverless infrastructure that transforms into full AWS CloudFormation templates.

### Data & Databases

- [Template Text Transformations](https://awesome-repositories.com/f/data-databases/block-storage/overlapping-block-processing/template-text-transformations.md) — Implements a macro-based system for text replacement and structural transformations on templates before deployment. ([source](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-section-structure.html))

### Development Tools & Productivity

- [Local Function Execution](https://awesome-repositories.com/f/development-tools-productivity/local-function-execution.md) — Provides utilities for running serverless functions locally to verify logic and event handling before cloud deployment. ([source](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/what-is-sam.html))

### Programming Languages & Runtimes

- [Local Build Orchestrators](https://awesome-repositories.com/f/programming-languages-runtimes/source-code-compilers/local-build-orchestrators.md) — Packages source code and dependencies into deployable artifacts locally before uploading to the cloud.
