paws.networking (version 0.1.6)

elb_add_tags: 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.

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.

Request syntax

svc$add_tags(
  LoadBalancerNames = list(
    "string"
  ),
  Tags = list(
    list(
      Key = "string",
      Value = "string"
    )
  )
)

Details

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 Classic Load Balancers Guide.

Examples

Run this code
# NOT RUN {
# This example adds two tags to the specified load balancer.
# }
# NOT RUN {
svc$add_tags(
  LoadBalancerNames = list(
    "my-load-balancer"
  ),
  Tags = list(
    list(
      Key = "project",
      Value = "lima"
    ),
    list(
      Key = "department",
      Value = "digital-media"
    )
  )
)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab