Events, unrecognised property http

The serverless error message is

at 'functions.parse.events[0]': unrecognized property 'http'

The template is examples/aws-node-rest-api-typescript at master · serverless/examples · GitHub

The handler typescript file

    import { handlerPath } from '@libs/handlerResolver';

    export default {
    handler: `${handlerPath(__dirname)}/handler.main`,
    events: [
      {
        http: {
          method: 'get',
          path: 'parse'
       },
       s3: "${s3:..}"
     }
   ],
    environment: {
     CONFIG_TABLE : process.env.CONFIG_TABLE,
    }
  }

Serverless print

functions:
  parse:
    handler: src/functions/parse/handler.main
    events:
      - http:
          method: get
          path: parse
        s3: >
          Group_ID,Account_ID,...
    environment: {}
    name: myapp-uploader-testing-parse

This is a silly mistake with the ${} template variables. Change to straight text and it works.