AWS Lambda - CloudWatch Event type
<p>When writing an AWS Java Lambda function that's triggered by Cloudwatch scheduled events, which event object gets passed to the Lambda handler function?</p>

<p>For example, for a Lambda function triggered by an S3 event, AWS invokes the function and passes an S3Event object.  Similarly, it would pass an SNSEvent object to a function triggered by an SNS message.</p>

<pre><code>public class LambdaHandler {

    public void eventHandler(S3Event event, Context context) {
    }
</code></pre>

<p>OR</p>

<pre><code>public class LambdaHandler {

    public void eventHandler(SNSEvent event, Context context) {
    }
</code></pre>

<p>For a Cloudwatch Scheduled Event driven function, what would be in place of SNSEvent / S3Event?</p>

<pre><code>public class LambdaHandler {

    public void eventHandler(__________ event, Context context) {
    }
</code></pre>

<p>I can't for the life of me find any examples of AWS Lambda functions written in Java that are triggered by Cloudwatch Scheduled events...</p>

<p>Bonus points for a sample function.</p>

<p><strong>EDIT 1</strong> There is no correct answer to this yet (though I don't know that AWS has released a proper 'event' object in the SDK that would be passed to the Lambda function), so there may not actually be an answer that I was looking for.</p>

<p>This question was also asked here: <a href="https://stackoverflow.com/questions/39288225/what-is-the-parameter-type-passed-to-a-lambda-function-by-a-cloudwatch-events">What is the parameter type passed to a Lambda function by a CloudWatch Events - Schedule trigger?</a> and someone commented suggesting using Object and printing the class name.  Turned out to be a LinkedHashMap.  Looks to be as correct of an answer as I am going to get...</p>