title: Understanding input in scheduled events in the serverless framework?
body: <p>I am trying to pass some 'inputs' into my lambda function on a specific event and am researching ways of doing it. The serverless documentation shows examples of defining an input like <a href="https://serverless.com/framework/docs/providers/aws/events/cloudwatch-event#specify-input-or-inputpath" rel="noreferrer">such</a>: </p>
  
  <p><em>serverless.yml</em></p>
  
  <pre><code>functions:
    aggregate:
      handler: statistics.handler
      events:
        - schedule:
            rate: rate(10 minutes)
            enabled: false
            input:
              key1: value1
              key2: value2
              stageParams:
                stage: dev
  </code></pre>
  
  <p>I am still unsure what exactly this is and how it can be accessed (if at all) from my handlers.js function.</p>
  
  <p>If someone could de-mystify this, it would be highly appreciated.</p>