有没有办法列出AWS中的所有资源 [英] Is there a way to list all resources in AWS

查看:597
本文介绍了有没有办法列出AWS中的所有资源的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以列出AWS中的所有资源?对于所有区域,所有资源..例如列出所有EC2实例,所有VPC,API Gateway中的所有API,等等...我想列出我帐户的所有资源,因为我很难找到可以找到的资源.现在放弃.

Is there a way to list all resources in AWS? For all regions, all resources.. Such as list all EC2 instances, all VPCs, all APIs in API Gateway, etc... I would like to list all resources for my account, since it's hard for me to find which resources I can relinquish now.

推荐答案

不建议使用此答案,并且此答案不正确.有几种列出AWS资源的方法(AWS Tag Editor等).查看 其他答案以获取更多详细信息.

This answer is deprecated and is incorrect. There are several ways to list AWS resources (the AWS Tag Editor, etc.). Check the other answers for more details.


否.


No.

每个AWS服务(例如Amazon EC2,Amazon S3)都有自己的API调用集.另外,每个 Region (地区)都是独立的.

Each AWS Service (eg Amazon EC2, Amazon S3) have their own set of API calls. Also, each Region is independent.

要获取所有资源的列表,您必须对每个区域中的每个服务进行API调用.

To obtain a list of all resources, you would have to make API calls to every service in every region.

您可能要激活 AWS配置:

AWS Config提供有关您的AWS账户中AWS资源配置的详细视图.其中包括资源之间的相互关系以及它们在过去的配置方式,以便您了解配置和关系随时间的变化.

AWS Config provides a detailed view of the configuration of AWS resources in your AWS account. This includes how the resources are related to one another and how they were configured in the past so that you can see how the configurations and relationships change over time.

但是,AWS Config仅收集有关EC2/VPC相关资源的信息,而不是AWS账户中的所有信息.

However, AWS Config only collects information about EC2/VPC-related resources, not everything in your AWS account.

这篇关于有没有办法列出AWS中的所有资源的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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