[英]Can we import our locally created lambda function to AWS console?
I have been working on AWS Lambda.我一直在研究 AWS Lambda。 For some reason, I had to create a Lambda function locally.出于某种原因,我不得不在本地创建一个 Lambda function。 I just want to know, can we import local lambda function to aws lambda console.我只是想知道,我们可以将本地 lambda function 导入到 aws lambda 控制台。 If yes then please elaborate how can i achieve this?如果是,请详细说明我该如何实现?
Yes you can.是的你可以。 Assume you create the Lambda function using the Java run-time API ( com.amazonaws.services.lambda.runtime.RequestHandler ) and you create a FAT JAR that contains all of the required dependencies. Assume you create the Lambda function using the Java run-time API ( com.amazonaws.services.lambda.runtime.RequestHandler ) and you create a FAT JAR that contains all of the required dependencies. You can deploy the Lambda function (the JAR) using the AWS Management Console, as described in this AWS tutorial.您可以使用 AWS 管理控制台部署 Lambda function(JAR),如本 AWS 教程中所述。
Creating an AWS Lambda function that detects images with Personal Protective Equipment 创建使用个人防护设备检测图像的 AWS Lambda function
It is pretty easy:这很容易:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.