AWS SAM Summary

  • Built on CloudFormation
  • Requires the Transform and Resources sections
  • Commands to know
    • sam build: fetch dependencies and create local deployment artifact
    • sam package: package and upload to S3, generate CloudFormation template
    • sam deploy: deploy to CloudFormation
    • sam publish: to publish to AWS SAR
  • AWS SAM Policy Templates for IAM Policy definition
  • SAM is integrated with CodeDeploy to deploy to Lambda Aliases