简体   繁体   English

如何在 AWS Lambda 中运行 Langage C 代码?

[英]how to run Langage C code in a AWS Lambda?

I looking for documentation on official AWS: https://aws.amazon.com/lambda/faqs/?nc1=h_ls我在官方 AWS 上寻找文档: https://aws.amazon.com/lambda/faqs/?nc1=h_ls

I find this:我发现这个:

Q: What languages does AWS Lambda support?问: AWS Lambda 支持哪些语言?

AWS Lambda natively supports Java, Go, PowerShell, Node.js, C#, Python, and Ruby code, and provides a Runtime API which allows you to use any additional programming languages to author your functions . AWS Lambda natively supports Java, Go, PowerShell, Node.js, C#, Python, and Ruby code, and provides a Runtime API which allows you to use any additional programming languages to author your functions . Please read our documentation on using Node.js, Python, Java, Ruby, C#, Go, and PowerShell.请阅读我们关于使用 Node.js、Python、Java、Ruby、C#、Go 和 PowerShell 的文档。

I do not find this documentation API. I want find a simple programme read/write file in langage C. after I will want expose after a API gateway.我找不到此文档 API。我想在语言 C 中找到一个简单的程序读/写文件。之后我想在 API 网关之后公开。

There are two solutions to that:有两种解决方案:

  1. Develop your own custom lambda runtime for that.为此开发您自己的自定义 lambda 运行时 AWS provides some guides and examples of how to do it for C++ in Introducing the C++ Lambda Runtime AWS 在介绍 C++ Lambda 运行时中提供了一些关于如何为 C++ 执行此操作的指南和示例

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM