SAM template a sam template is a serverless filed used to define the serverless application Resources AWS::Serverless::Function: Defines an AWS Lambda function.