SAM Flashcards

1
Q

What is AWS SAM?

A

Serverless Application Model

Declarative development and deployment of serverless resources

yaml

Can be used with CloudFormation, e.g. Transforms

Can use CodeDeploy to deploy Lambdas

Helps with running lambda, gateway, dynmabd locally

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How does a SAM template look like?

A

In CloudFormatio(?) Transform header indicates SAM template if it begins with AWS::Serverless-206-10-31

Resources:

AWS::Serverless::Function => Lambda

AWS::Serverless::Api => Gateway

AWS::Serverless::SimpleTable => DynamoDB table

Package & Deploy commands:

aws cloudformation package / sam packge

aws cloudformation deploy / sam deploy

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly