aws elbv2 describe-tags
Describes the tags for the specified Elastic Load Balancing resources. AWS CLI reference
1 example 1 option Its page in the AWS CLI reference
Examples
To describe the tags assigned to a load balancer
The following describe-tags example describes the tags assigned to the specified load balancer.
aws elbv2 describe-tags --resource-arns arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188Identify--resource-arnsThe Amazon Resource Names (ARN) of the resources.Its output
{
"TagDescriptions": [
{
"ResourceArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188",
"Tags": [
{
"Value": "lima",
"Key": "project"
},
{
"Value": "digital-media",
"Key": "department"
}
]
}
]
}For more information, see Tag an Application Load Balancer in the Application Load Balancers Guide.
Options
--resource-arnsThe Amazon Resource Names (ARN) of the resources.