AWSTemplateFormatVersion: '2010-09-09' Transform: AWS::Serverless-2016-10-31 Parameters: CodeLocation: Type: String Resources: MicroserviceHttpEndpoint: Type: AWS::Serverless::Function Properties: Handler: index.handler Runtime: nodejs12.x CodeUri: Bucket: Ref: CodeLocation Key: my-key