CmdID / aws / aws workspaces
aws workspaces describe-tags
Describes the specified tags for the specified WorkSpaces resource. AWS CLI reference
1 example 1 option Its page in the AWS CLI reference
Examples
To describe the tags for a WorkSpace
The following describe-tags example describes the tags for the specified WorkSpace.
aws workspaces describe-tags --resource-id ws-dk1xzr417Identify--resource-idThe identifier of the WorkSpaces resource.Its output
{
"TagList": [
{
"Key": "Department",
"Value": "Finance"
}
]
}For more information, see Tag WorkSpaces resources in the Amazon WorkSpaces Administration Guide.
Options
--resource-idThe identifier of the WorkSpaces resource.