将 DynamoDB 与 AWS SDK 结合使用的场景
以下代码示例显示如何通过 AWS SDK 实施 DynamoDB 中的常见场景。这些场景向您展示了如何通过调用 DynamoDB 中的多个函数或与其它 AWS 服务相结合来完成特定任务。每个场景都包含完整源代码的链接,您可以在其中找到有关如何设置和运行代码的说明。
场景以中等水平的经验为目标,可帮助您结合具体环境了解服务操作。
示例
- 借助 DAX 加快读取速度
- 构建应用程序以将数据提交到 DynamoDB 表
- 有条件地更新项目的 TTL
- 连接到本地实例
- 创建 REST API 以跟踪 COVID-19 数据
- 创建 Messenger 应用程序
- 创建无服务器应用程序来管理照片
- 创建 Web 应用程序来跟踪 DynamoDB 数据
- 创建 Websocket 聊天应用程序
- 创建设置了 TTL 的项目
- 检测图像中的 PPE
- 从浏览器调用 Lambda 函数
- 监控 DynamoDB 性能
- 使用批量 PartIQL 语句查询表
- 使用 PartiQL 查询表
- 查询 TTL 项目
- 保存 EXIF 和其他图像信息
- 更新项目的 TTL
- 使用 API Gateway 调用 Lambda 函数
- 使用 Step Functions 调用 Lambda 函数
- 使用文档模型
- 使用高级对象持久化模型
- 使用计划的事件调用 Lambda 函数