本文介绍了CloudWatch Events-Schedule触发器传递给Lambda函数的参数类型是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

此处被询问,但未提供答案. CloudWatch计划事件传递给Lambda函数(在Java中)的参数类型是什么?

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?

中它表示输入类型将是"aws-lambda-java-events库中定义的预定义AWS事件类型"之一.但是我看到的这个库此处,未定义计划的或cloudwatch事件类型.

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.

非常感谢您的协助!

推荐答案

在Mark B.的注释之后,结果表明该参数是LinkedHashMap,其键和值根据页面.

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.

这篇关于CloudWatch Events-Schedule触发器传递给Lambda函数的参数类型是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-24 08:10