使用 Cognito 用户认证嵌入 QuickSight 可视化
原标题:Embed Quick Sight visuals using Cognito user authentication
AI 摘要
AWS 发布了一篇技术博客,介绍如何通过 Amazon Cognito 用户认证将 Amazon QuickSight 的单个可视化嵌入到 React 应用中。该方案采用无服务器架构,包括 React 前端、Cognito 认证、API Gateway 和 Lambda 后端,以及 QuickSight 分析层。Lambda 函数负责同步用户并生成限时嵌入 URL,实现细粒度的基于角色的访问控制。该方案支持首次用户自动注册,并可通过 CloudFormation 快速部署。
正文节选
Embed Quick Sight visuals using Cognito user authentication Embedding analytics into a React application introduces complexity when you need per-user authentication. Building the identity layer that bridges Amazon Cognito and Amazon Quick Sight so that each person sees only the data their role permits adds layers of complexity that most tutorials skip. With a dedicated identity layer, you can implement fine-grained access governance for every embedded visual. Amazon Quick is the unified analytic