Does anyone have a list of boto3 function name which list resources for each service?

0

Checking if anyone has a list of function by each AWS Service(supported in boto3) to list resources of that service. Just giving a try here before I do manual scanning of boto3 documentation.

Why am I asking this? I want to identify resources running in my AWS org under all accounts under all regions centrally. I looked into other avenues like Resource editor but that's per account.

AWS
已提问 5 个月前216 查看次数
2 回答
1

There isn't a universally agreed-upon list of all boto3 functions for listing resources across all AWS services. However, you can typically find the relevant functions in the boto3 documentation for each service. Common naming conventions in boto3 include methods that start with list_ or describe_, depending on the service and resource. For example, list_buckets() for S3, describe_instances() for EC2, and so on.

For your use case of identifying resources across all AWS accounts and regions, you might consider using AWS Config or AWS Organizations for a more centralized approach. AWS Config can track resource inventory and changes across your AWS account, while AWS Organizations can help manage policies and resources across multiple AWS accounts.

profile picture
专家
已回答 5 个月前
profile picture
专家
已审核 5 个月前
profile picture
专家
已审核 5 个月前
0

The open-source tool at https://github.com/awslabs/resource-lister allows you to view resources across accounts /region, though it currently has limited coverage and supports only 27 services.

AWS
Abhi
已回答 3 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则