Skip to main content

Serverless Application Model (SAM)

  • Framework for building serverless applications
  • Built on top of CloudFormation
  • Supports local development and testing

SAM Template

  • YAML or JSON
  • Defines what AWS resources are needed

Components:

  • Globals
  • Resources
  • Parameters
  • Outputs

SAM CLI

  • Command line tool for local development and testing
  • Supports local invocation and debugging
  • Can be used to package and deploy applications

SAM Policy Templates

  • Simplify / standardize permissions for serverless applications