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
feita há 5 meses216 visualizações
2 Respostas
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
ESPECIALISTA
respondido há 5 meses
profile picture
ESPECIALISTA
avaliado há 5 meses
profile picture
ESPECIALISTA
avaliado há 5 meses
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
respondido há 3 meses

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas