AddTags - Elastic Load Balancing


Adds the specified tags to the specified load balancer. Each load balancer can have a maximum of 10 tags.

Each tag consists of a key and an optional value. If a tag with the same key is already associated with the load balancer, AddTags updates its value.

For more information, see Tag your Classic Load Balancer in the User Guide for Classic Load Balancers.

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.


The name of the load balancer. You can specify one load balancer only.

Type: Array of strings

Required: Yes


The tags.

Type: Array of Tag objects

Array Members: Minimum number of 1 item.

Required: Yes


For information about the errors that are common to all actions, see Common Errors.


A tag key was specified more than once.

HTTP Status Code: 400


The specified load balancer does not exist.

HTTP Status Code: 400


The quota for the number of tags that can be assigned to a load balancer has been reached.

HTTP Status Code: 400


Add tags

This example adds tags to the specified load balancer.

Sample Request &LoadBalancerNames.member.1=my-loadbalancer &Tags.member.1.Key=project &Tags.member.1.Value=lima &Version=2012-06-01 &AUTHPARAMS

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: