AWSTemplateFormatVersion: '2010-09-09' Transform: 'AWS::Serverless-2016-10-31' Description: An AWS Serverless Specification template describing your function. Resources: SmartCoolerScan: Type: 'AWS::Serverless::Function' Properties: Handler: index.handler Runtime: nodejs12.x Description: '' MemorySize: 128 Timeout: 15 Events: ApiEvent: Type: Api Properties: Path: /scan Method: post