Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the parameter type passed to a Lambda function by a CloudWatch Events - Schedule trigger?

This was asked here but no answer was provided. What is the parameter type passed to a Lambda function (in Java) by a CloudWatch scheduled event?

In this it says the input type would be one of "Predefined AWS event types defined in the aws-lambda-java-events library.". But this library, as I see here, doesn't define a scheduled or cloudwatch event type.

Any assistance would be very much appreciated!

like image 412
Yariv Adam Avatar asked Sep 02 '16 08:09

Yariv Adam


1 Answers

Following Mark B.'s comment, it turns out the parameter is a LinkedHashMap with the keys and values according to what's defined at the very bottom of this page.

like image 169
Yariv Adam Avatar answered Oct 17 '22 08:10

Yariv Adam