# Traditional CloudFormation
Resources:
MyFunction:
Type: AWS::Lambda::Function
Properties:
Handler: index.handler
Role: !GetAtt LambdaExecutionRole.Arn
Code:
S3Bucket: my-bucket
S3Key: my-function.zip
Runtime: nodejs18.x
# SAM Equivalent
Resources:
MyFunction:
Type: AWS::Serverless::Function
Properties:
Handler: index.handler
Runtime: nodejs18.x
Install SAM CLI
Initialize a Project
Local Development
Deploy
✅ Simplified Resource Definitions
✅ Local Testing Capabilities
✅ AWS Best Practices Built-in
✅ Free and Open Source
✅ Native AWS Integration
✅ Active Community
📩 calvin@sixfeetup.com
🤝 https://linkedin.com/in/calvinhp
✖️ @calvinhp
🐘 @calvinhp@fosstodon.org
🦋 @calvinhp.com