Getting Information About Tags Associated with Load Balancers

You can get information about tags associated with your load balancers.

If you exceed the number of identical requests allowed for a configured time period, the Throttling error message is returned.

To get information about tags associated with your load balancers, use the describe-tags command following this syntax:

Request sample
$ aws elb describe-tags \
    --profile YOUR_PROFILE \
    --load-balancer-names MY_LOAD_BALANCER \
    --endpoint https://lbu.eu-west-2.outscale.com

This command contains the following attributes that you need to specify:

  • (optional) profile: The named profile you want to use, created when configuring AWS CLI. For more information, see Installing and Configuring AWS CLI.

  • load-balancer-names: The names of one or more load balancers.

  • endpoint: The endpoint corresponding to the Region you want to send the request to.

The describe-tags command returns the following elements:

  • TagDescriptions: Information about one or more tags. This element contains the following information:

    • Tags: Information about one or more tags associated with a load balancer. This element contains the following information:

      • (optional) Value: The value of the tag.

      • key: They key of the tag.

    • LoadBalancerName: The name of the load balancer.

Result Sample
 {
  "TagDescriptions": [
      {
          "Tags": [
              {
                  "Value": "name",
                  "Key": "LB1"
              }
          ],
          "LoadBalancerName": "MY_LOAD_BALANCER"
      }
  ]
 }

Related Pages

Corresponding API Method

AWS™ and Amazon Web Services™ are trademarks of Amazon Technologies, Inc or its affiliates in the United States and/or other countries.