Amazon AWS RDS Resource Name

I would like to list all the tags of an RDS instance, but the resource name is required for the method / API. how can i get the name of arn or resource to list all my tags.

is there any other way to list tags using boto

API: list-tags-for-resource

Link: http://docs.aws.amazon.com/AmazonRDS/latest/CommandLineReference/CLIReference-cmd-ListTags.html

+4
source share
1 answer

I think you need to list all the RDS instances and then iterate over them by calling "list-tags-for-resource" on each of them:

http://boto.readthedocs.org/en/latest/ref/rds.html#boto.rds.RDSConnection.get_all_dbinstances

+3

All Articles