CmdID / aws / aws directconnect
aws directconnect describe-tags
Describes the tags associated with the specified Direct Connect resources. AWS CLI reference
1 example 1 option Its page in the AWS CLI reference
Examples
To describe tags for your AWS Direct Connect resources
The following describe-tags example describes the tags for the connection dxcon-abcabc12.
aws directconnect describe-tags --resource-arns arn:aws:directconnect:us-west-2:123456789012:dxcon/dxcon-abcabc12Identify--resource-arnsThe Amazon Resource Names (ARNs) of the resources.Its output
{
"resourceTags": [
{
"resourceArn": "arn:aws:directconnect:us-west-2:123456789012:dxcon/dxcon-abcabc12",
"tags": [
{
"value": "VAConnection",
"key": "Name"
}
]
}
]
}For more information, see Tag AWS Direct Connect resources in the AWS Direct Connect User Guide.
Options
--resource-arnsThe Amazon Resource Names (ARNs) of the resources.