amazon-web-services - 多租户 b2b 无服务器应用程序中每个租户的自定义子域
问题描述
我们正在计划一个多租户 b2b 无服务器应用程序。每个租户都有一个 Cognito 池,但有一个池化 DynamoDB。应用程序前端也将由一个通用的 S3 存储桶提供服务。
当新用户加入时,我们将为租户、身份池和角色配置用户池。新记录也将添加到 DDB。同时,我们需要为这个用户创建一个自定义子域,它将为来自 s3 的应用程序提供服务。
-> I understand I could just add *.example.com but it will intercept garbage subdomains as well that are not connected to any user.
-> Also, it seems as if subdomain mapping has to be through CloudFront, which is fine but does CloudFront allow to point any number of subdomains to a distribution/s3 bucket
我们正在使用无服务器框架,它是一个无服务器应用程序。有人可以引导我完成实现这一目标的过程吗?或分享任何例子。
解决方案
推荐阅读
- azure - 无法确定在 Azure 流分析中使用哪个窗口
- autodesk-forge - 通过命令行打开 Revit BIM360 模型
- python - 在 Glue 中合并/压缩/复制两个动态帧
- intellij-idea - IntelliJIDEA 花费太多时间来打开一个新项目
- r - 添加满足两个条件的值
- jboss - JBAS010441:无法为驱动程序 [org.mariadb] 加载模块?
- sas - 原始数据导入
- sql - 选择合理的指标以尽快恢复范围的最小值和最大值,
- ruby-on-rails - 使用 Webpack 在 Rails 6 中安装 Glide.js
- docker - 如何使用客户端 api 从正在运行的 pod 获取当前命名空间