我已经将我的CloudFront分配设置为使用通配符CNAME(* .domain.com)我想知道我的Lambda代理集成中的子域 . 为此,我需要在x-host-header下的CloudFront Access Logs中提供的Host头 .

API网关将主机头分配给example.execute-api . https://forums.aws.amazon.com/.amazonaws.com endpoints 名称 .

是否仍然无法通过API网关实现这一目标?添加额外的lambda原始请求会增加太多的开销和成本 .

与此相关的其他资源:链接:Get CloudFront custom domain in the headers of a request链接:https://forums.aws.amazon.com/thread.jspa?threadID=84588&start=75&tstart=0