title: Cron job cloud watch event error: "Event pattern contains invalid value (can only be a nonempty array or nonempty object)
body: <p>I am trying to set a schedule using a corn job expression for a lambda function target.
  The goal is to run the lambda function every day at 7 am IST.</p>
  <p>My cron job expression is:</p>
  <pre><code>0 7 * * * ....
  </code></pre>
  <p>have set the target to be a lambda function.</p>
  <p>While configuring the event I get the following error:</p>
  <pre><code>Event pattern contains an invalid value (can only be a nonempty array or nonempty object); All added targets need to be configured correctly
  </code></pre>
  <p>for cron job expression I just referred few links online, don't know if I am correct at the expression.</p>
  <p>Could someone let me know why this error is popping up?</p>