AWSTemplateFormatVersion: '2010-09-09'
Transform: AWS::Serverless-2016-10-31
Resources:
    HelloWorldFunction:
        Type: AWS::Serverless::Function
        Properties:
            CodeUri: hello_world/
            Handler: app.lambda_handler
            Runtime: nodejs8.10
            Events:
                HelloWorldAPI:
                    Type: Api
                    Properties:
                        Path: /hello
                        Method: get
                HelloWorldSNS:
                    Type: SNS
                    Properties:
                        Topic: somethingCool
