

# Lambda 事件源
<a name="lambda-event-sources"></a>

Lambda 通过直接集成方式与 140 多项 AWS 服务集成，并与 Amazon EventBridge [事件总线](https://docs.aws.amazon.com/eventbridge/latest/userguide/create-event-bus.html)集成。常用的 Lambda 事件源有： 


+ [Amazon API Gateway](https://aws.amazon.com/api-gateway/)
+ [Amazon CloudWatch Events](https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/WhatIsCloudWatchEvents.html)
+ [Amazon CloudWatch Logs](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/WhatIsCloudWatchLogs.html)
+ [Amazon DynamoDB Streams](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Streams.Lambda.html)
+ [Amazon EventBridge](https://aws.amazon.com/eventbridge/)
+ [Amazon Kinesis Data Streams](https://aws.amazon.com/kinesis/data-streams/)
+ [Amazon S3](https://aws.amazon.com/s3/)
+ [Amazon SNS](https://aws.amazon.com/sns/)
+ [Amazon SQS](https://aws.amazon.com/sqs/)
+ [AWS Step Functions](https://aws.amazon.com/step-functions/?step-functions.sort-by=item.additionalFields.postDateTime&step-functions.sort-order=desc)

使用这些事件源，您可以：
+  使用 [AWS Identity and Access Management](https://aws.amazon.com/iam/) 安全地管理对服务和资源的访问。
+ 加密静态数据。\*所有服务都会加密传输中的数据。
+ 使用 VPC 终端节点从您的 [ Amazon Virtual Private Cloud](https://aws.amazon.com/vpc/) 进行访问（由 [AWS PrivateLink](https://aws.amazon.com/privatelink/) 提供支持）
+ 使用 [Amazon CloudWatch Application Insights](https://aws.amazon.com/cloudwatch/) 收集、报告指标并对指标发出告警。
+ 使用 [AWS CloudTrail](https://aws.amazon.com/cloudtrail/) 记录、持续监控和保留与整个 AWS 基础设施中的操作相关的账户活动，提供通过 [AWS 管理控制台](https://aws.amazon.com/console/)、[AWS 软件开发工具包](https://aws.amazon.com/tools/)、命令行工具和其他 AWS 服务执行的操作的完整事件历史记录。

\*在发布之时，静态数据加密功能尚不适用于 Amazon EventBridge。继续监控服务主页以获取有关这些功能的更新。