Add Tags
elb_add_tags | R Documentation |
Adds the specified tags to the specified load balancer¶
Description¶
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, add_tags
updates its
value.
For more information, see Tag Your Classic Load Balancer in the Classic Load Balancers Guide.
Usage¶
elb_add_tags(LoadBalancerNames, Tags)
Arguments¶
LoadBalancerNames |
[required] The name of the load balancer. You can specify one load balancer only. |
Tags |
[required] The tags. |
Value¶
An empty list.
Request syntax¶
svc$add_tags(
LoadBalancerNames = list(
"string"
),
Tags = list(
list(
Key = "string",
Value = "string"
)
)
)
Examples¶
## Not run:
# This example adds two tags to the specified load balancer.
svc$add_tags(
LoadBalancerNames = list(
"my-load-balancer"
),
Tags = list(
list(
Key = "project",
Value = "lima"
),
list(
Key = "department",
Value = "digital-media"
)
)
)
## End(Not run)