

本文属于机器翻译版本。若本译文内容与英语原文存在差异，则一律以英文原文为准。

# Lambda 运行时
<a name="lambda-runtimes-component"></a>

Lambda 运行时组件 (`aws.greengrass.LambdaRuntimes`) 提供了 Greengrass 核心设备用于运行 AWS Lambda 函数的运行时。

**注意**  <a name="lambda-component-dependency-note"></a>
将 Lambda 函数组件部署到核心设备时，部署还包括此组件。有关更多信息，请参阅 [运行 AWS Lambda 函数](run-lambda-functions.md)。

**Topics**
+ [版本](#lambda-runtimes-component-versions)
+ [类型](#lambda-runtimes-component-type)
+ [操作系统](#lambda-runtimes-component-os-support)
+ [要求](#lambda-runtimes-component-requirements)
+ [依赖项](#lambda-runtimes-component-dependencies)
+ [配置](#lambda-runtimes-component-configuration)
+ [本地日志文件](#lambda-runtimes-component-log-file)
+ [更改日志](#lambda-runtimes-component-changelog)

## 版本
<a name="lambda-runtimes-component-versions"></a>

此组件具有以下版本：
+ 2.0.x

## 类型
<a name="lambda-runtimes-component-type"></a>

<a name="public-component-type-generic"></a>此<a name="public-component-type-generic-phrase"></a>组件是一个通用组件 (`aws.greengrass.generic`)。[Greengrass Nucleus](greengrass-nucleus-component.md) 运行组件的生命周期脚本。

<a name="public-component-type-more-information"></a>有关更多信息，请参阅[组件类型](develop-greengrass-components.md#component-types)。

## 操作系统
<a name="lambda-runtimes-component-os-support"></a>

此组件只能安装在 Linux 核心设备上。

## 要求
<a name="lambda-runtimes-component-requirements"></a>

此组件具有以下要求：
+ <a name="core-device-lambda-function-requirements"></a>您的核心设备必须满足运行 Lambda 函数的要求。如果您希望核心设备运行容器化 Lambda 函数，则设备必须满足相关要求。有关更多信息，请参阅 [Lambda 函数要求](setting-up.md#greengrass-v2-lambda-requirements)。
+ 支持在 VPC 中运行 Lambda 运行时组件。

## 依赖项
<a name="lambda-runtimes-component-dependencies"></a>

此组件没有任何依赖关系。

## 配置
<a name="lambda-runtimes-component-configuration"></a>

此组件没有任何配置参数。

## 本地日志文件
<a name="lambda-runtimes-component-log-file"></a>

此组件不输出日志。

## 更改日志
<a name="lambda-runtimes-component-changelog"></a>

下表介绍每个组件版本的更改。


|  **版本**  |  **更改**  | 
| --- | --- | 
|  2.0.9  |  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/greengrass/v2/developerguide/lambda-runtimes-component.html)  | 
|  2.0.8  |  版本更新为 Greengrass Nucleus 版本 2.5.0 发布版。  | 
|  2.0.7  |  版本更新为 Greengrass Nucleus 版本 2.4.0 发布版。  | 
|  2.0.6  |  版本更新为 Greengrass Nucleus 版本 2.3.0 发布版。  | 
|  2.0.5  |  对 Greengrass Nucleus 版本 2.2.0 发行版进行了版本更新。  | 
|  2.0.4  |  对 Greengrass Nucleus 版本 2.1.0 发行版进行了版本更新。  | 
|  2.0.3  |  初始版本。  | 