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ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ