SAM Flashcards
1
Q
What is SAM?
A
Serverless Application Model.
Extension of CloudFormation to define serverless apps (ex APIs, LambdaFunction, DynamoDB)
2
Q
How to use SAM?
A
Use SAM CLI to package deploymnet and upload to S3
sam package
sam deploy
3
Q
AWS::Serverless::Api
A
API Gateway
4
Q
AWS::Serverless::Application
A
Nested stack
5
Q
AWS::Serverless::Function
A
Lambda
6
Q
AWS::Serverless::SimpleTable
A
DynamoDB
7
Q
SAM call to generate pre-configured AWS SAM templates
A
sam init
8
Q
What SAM template property defines the point in a Lambda’s function code where execution begins
A
Handler
9
Q
What SAM template property defines the language a Lambda function is written in
A
Runtime