

文档 AWS SDK 示例 GitHub 存储库中还有更多 [S AWS DK 示例](https://github.com/awsdocs/aws-doc-sdk-examples)。

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

# 使用 Lambda 的场景 AWS SDKs
<a name="lambda_code_examples_scenarios"></a>

以下代码示例向您展示了如何使用在 Lambda 中实现常见场景。 AWS SDKs这些场景向您展示了如何通过调用 Lambda 中的多个函数或与其他 AWS 服务结合来完成特定任务。每个场景都包含完整源代码的链接，您可以在其中找到有关如何设置和运行代码的说明。

场景以中等水平的经验为目标，可帮助您结合具体环境了解服务操作。

**Topics**
+ [使用 Lambda 函数自动确认已知用户](lambda_example_cross_CognitoAutoConfirmUser_section.md)
+ [使用 Lambda 函数自动迁移已知用户](lambda_example_cross_CognitoAutoMigrateUser_section.md)
+ [创建 REST API 以跟踪 COVID-19 数据](lambda_example_cross_ApiGatewayDataTracker_section.md)
+ [使用 Lambda 代理集成创建 REST API](lambda_example_api_gateway_GettingStarted_087_section.md)
+ [创建借阅图书馆 REST API](lambda_example_cross_AuroraRestLendingLibrary_section.md)
+ [创建 Messenger 应用程序](lambda_example_cross_StepFunctionsMessenger_section.md)
+ [创建无服务器应用程序来管理照片](lambda_example_cross_PAM_section.md)
+ [创建 Websocket 聊天应用程序](lambda_example_cross_ApiGatewayWebsocketChat_section.md)
+ [创建用于分析客户反馈的应用程序](lambda_example_cross_FSA_section.md)
+ [创建以函数名称为变量的 CloudWatch 仪表板](lambda_example_cloudwatch_GettingStarted_031_section.md)
+ [创建第一个 Lambda 函数](lambda_example_lambda_GettingStarted_019_section.md)
+ [从浏览器调用 Lambda 函数](lambda_example_cross_LambdaForBrowser_section.md)
+ [使用 S3 对象 Lambda 转换数据](lambda_example_cross_ServerlessS3DataTransformation_section.md)
+ [使用 API Gateway 调用 Lambda 函数](lambda_example_cross_LambdaAPIGateway_section.md)
+ [使用 Step Functions 调用 Lambda 函数](lambda_example_cross_ServerlessWorkflows_section.md)
+ [使用计划的事件调用 Lambda 函数](lambda_example_cross_LambdaScheduledEvents_section.md)
+ [使用 Neptune API 查询图形数据](lambda_example_cross_Neptune_Query_section.md)
+ [在 CloudWatch 控制面板中使用属性变量监控多个 Lambda 函数](lambda_example_iam_GettingStarted_032_section.md)
+ [在完成 Amazon Cognito 用户身份验证后使用 Lambda 函数写入自定义活动数据](lambda_example_cross_CognitoCustomActivityLog_section.md)