Getting Information About Your Tags Using Cockpit
Click the page corresponding to the type of the resource you want tag information about.
- Select the resource you want to get information about.
The resource is selected.
A dialog box with all the tags associated with the selected resource appears.
You can hover over the selected resource to make all its associated tags appear.
Getting Information About Your Tags Using AWS CLI
To get information about tags associated with your resources, use the describe-tags command following this syntax:
This command contains the following attributes that you need to specify:
profile: The named profile you want to use, created when configuring AWS CLI. For more information, see Installing and Configuring AWS CLI.
filters: One or more filters, in the "Name=X,Values=Y" format.
You can specify several values for a same filter using the "Name=X,Values=Y, Z" format.
The following filters are available:
key: The key of the tags.
resource-id: The ID of the resource.
resource-type: The resource type (
value: The value of the tags.
If you use this filter and set it to an empty string, you get information about all your tags with a value set to an empty string.
endpoint: The endpoint corresponding to the Region you want to send the request to.
The describe-tags command returns the following elements:
Tags: The tags associated to the resources.
ResourceType: The resource type.
ResourceId: The ID of the resource.
Value: The value of the tags.
Key: The key of the tags.