简体   繁体   中英

AWS Cloudfront distribution does not show API Gateway distribution

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 Documentation states below:

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.

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

What am I missing?

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"

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM