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
gefragt vor 5 Monaten216 Aufrufe
2 Antworten
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
EXPERTE
beantwortet vor 5 Monaten
profile picture
EXPERTE
überprüft vor 5 Monaten
profile picture
EXPERTE
überprüft vor 5 Monaten
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
beantwortet vor 3 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen