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
asked 4 months ago190 views
2 Answers
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
EXPERT
answered 4 months ago
profile picture
EXPERT
reviewed 4 months ago
profile picture
EXPERT
reviewed 4 months ago
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
answered 2 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions