AWS Lambda - CloudWatch Event type

后端 未结 3 493
野的像风
野的像风 2021-02-05 03:07

When writing an AWS Java Lambda function that\'s triggered by Cloudwatch scheduled events, which event object gets passed to the Lambda handler function?

For example, fo

3条回答
  •  情书的邮戳
    2021-02-05 03:31

    com.amazonaws.services.lambda.runtime.events.ScheduledEvent is the current answer.

    I can see that in 2.0.2 version of aws-lambda-java-events library this is available. Code is here and more details on 2.0 version are here

提交回复
热议问题