CmdID / aws / aws memorydb
aws memorydb list-tags
Lists all tags currently on a named resource. AWS CLI reference
1 example 1 option Its page in the AWS CLI reference
Examples
To return a list of tags
The following list-tags example returns a list of tags.
aws memorydb list-tags --resource-arn arn:aws:memorydb:us-west-2:491658xxxxxx:cluster/my-clusterIdentify--resource-arnThe Amazon Resource Name (ARN) of the resource for which you want the list of tags.Its output
{
"TagList": [
{
"Key": "mytag",
"Value": "myvalue"
}
]
}For more information, see Tagging resources in the MemoryDB User Guide.
Options
--resource-arnThe Amazon Resource Name (ARN) of the resource for which you want the list of tags.