AWS Cloudfront分发不显示API网关分发 [英] AWS Cloudfront distribution does not show API Gateway distribution

查看:84
本文介绍了AWS Cloudfront分发不显示API网关分发的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个AWS Gateway API与自定义域结合使用的API.它已经生产了至少一年. 但是,当我从AWS web console转到Cloudfront资源页面时,在同一帐户下看不到用于网关API的任何分发条目.

I have a API hosted using AWS Gateway API in combination with a custom domain. Its been in production for at least a year. However, when I go to Cloudfront resource page from AWS web console, I don't see any distribution entries under my same account which is used for Gateway API.

AWS文档状态下方:

由API Gateway创建的CloudFront发行版由与API Gateway关联的特定于区域的帐户拥有.在CloudWatch日志中跟踪用于创建和更新此类CloudFront分布的操作时,您必须使用API​​网关帐户ID.有关更多信息,请参阅在CloudTrail中记录创建自定义域名.

The CloudFront distribution created by API Gateway is owned by a region-specific account affiliated with API Gateway. When tracing operations to create and update such a CloudFront distribution in CloudWatch logs, you must use the API Gateway account Id. For more information, see Log Custom Domain Name Creation in CloudTrail.

我为GatewayCloudfront使用相同的帐户.但是我在Cloudfront中看不到发行条目.

I am using the same account for both Gateway and Cloudfront. But I don't see the distribution entry in Cloudfront.

我想念什么?

推荐答案

它是在后台创建的.您无法在CloudWatch仪表板中看到它.这就是他们说的意思:

It's created behind the scenes. You can't see it in your CloudWatch dashboard. That's what they mean when they say:

归某个特定地区的帐户拥有"

"is owned by a region-specific account"

这意味着CloudFront发行版不属于您的AWS账户,因此您不会在自己拥有的CloudFront发行版列表中看到它.

Which means the CloudFront distribution is not owned by your AWS account, so you won't see it in the list of CloudFront distributions that you own.

这篇关于AWS Cloudfront分发不显示API网关分发的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆