我已经使用 ACM 创建了 SSL 证书。我想要使用此证书来为我的 S3 存储桶中的静态内容和 Lambda 函数提供服务。目前,我希望避免使用 CloudFront,并通过 API Gateway 代理 S3 和 Lambda,以便从单个 SSL 域中提供所有内容(没有 CORS 问题)。
理想情况下,我将调用:
https://my.customdomain.com/ (lambda redirects to /web/index.html)
https://my.customdomain.com/api/* (lambdas)
https://my.customdomain.com/web/* (static content - s3)
上述架构是否合理/可行?