Skip to content

Removes the specified tags from the specified Elastic Load Balancing resources

Description

Removes the specified tags from the specified Elastic Load Balancing resources. You can remove the tags for one or more Application Load Balancers, Network Load Balancers, Gateway Load Balancers, target groups, listeners, or rules.

Usage

elbv2_remove_tags(ResourceArns, TagKeys)

Arguments

  • ResourceArns

    [required] The Amazon Resource Name (ARN) of the resource.

  • TagKeys

    [required] The tag keys for the tags to remove.

Value

An empty list.

Request syntax

svc$remove_tags(
  ResourceArns = list(
    "string"
  ),
  TagKeys = list(
    "string"
  )
)

Examples

# This example removes the specified tags from the specified load
# balancer.
svc$remove_tags(
  ResourceArns = list(
    "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/m..."
  ),
  TagKeys = list(
    "project",
    "department"
  )
)