Understanding the SAM template

The following is a YAML source for the SAM template we downloaded (from the export function option) for the Lambda function defined in the previous section:

AWSTemplateFormatVersion: '2010-09-09'Transform: 'AWS::Serverless-2016-10-31'Description: A starter AWS Lambda function.Resources:    TestLambdaBluePrint:        Type: 'AWS::Serverless::Function'        Properties:            Handler: lambda_function.lambda_handler            Runtime: python3.6            CodeUri: .            Description: A starter AWS Lambda function.            MemorySize: 128            Timeout: 3            Role: 'arn:aws:iam::450394462648:role/LamdaFullAccess'            Tags:                'lambda-console:blueprint': hello-world-python3

You have a Lambda function defined here. Below that you are defining a couple of Lambda function properties, including ...

Get Learning AWS - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.