AWSTemplateFormatVersion: '2010-09-09' Transform: AWS::Serverless-2016-10-31 Description: Simple Lambda Function Resources: ########################################################################## # Lambda Function # ########################################################################## SimpleFunction: Type: AWS::Serverless::Function Description: A Simple Lambda Function Properties: CodeUri: src/ Handler: app.handler Runtime: nodejs14.x MemorySize: 512 EphemeralStorage: Size: 512 ########################################################################## # Stack outputs # ########################################################################## Outputs: SimpleFunctionARN: Description: Simple Lambda Function ARN Value: !GetAtt SimpleFunction.Arn # Arn of Lambda function declared in the template file. SimpleFunctionName: Description: Simple Lambda Function Name Value: !Ref SimpleFunction # Name of Lambda function declared in the template file.