[英]How do I configure My AWS Lambda to take input parameters
I want my AWS Lambda function to take a input parameter.我想让我的 AWS Lambda function 接受一个输入参数。 Example- the parameter is a date and I want to update a field in the Database using that Date.
示例 - 参数是一个日期,我想使用该日期更新数据库中的一个字段。 How do I get that date to my Lambda??
我如何获得我的 Lambda 的日期?
Lambda's can get params from 2 sources: Lambda 可以从两个来源获取参数:
Adding environment variables is independent of the triggering event, but it doesn't change value between invocation.添加环境变量独立于触发事件,但它不会在调用之间更改值。
Adding fields to the triggering event depends heavily on the type of event and should be handled on the side of the event's source.向触发事件添加字段在很大程度上取决于事件的类型,应该在事件源端处理。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.