Skip to content

Untag Resource

applicationautoscaling_untag_resource R Documentation

Deletes tags from an Application Auto Scaling scalable target

Description

Deletes tags from an Application Auto Scaling scalable target. To delete a tag, specify the tag key and the Application Auto Scaling scalable target.

Usage

applicationautoscaling_untag_resource(ResourceARN, TagKeys)

Arguments

ResourceARN

[required] Identifies the Application Auto Scaling scalable target from which to remove tags.

For example: ⁠arn:aws:application-autoscaling:us-east-1:123456789012:scalable-target/1234abcd56ab78cd901ef1234567890ab123⁠

To get the ARN for a scalable target, use describe_scalable_targets.

TagKeys

[required] One or more tag keys. Specify only the tag keys, not the tag values.

Value

An empty list.

Request syntax

svc$untag_resource(
  ResourceARN = "string",
  TagKeys = list(
    "string"
  )
)

Examples

## Not run: 
# This example removes the tag pair with the key name "environment" from
# the scalable target specified by its ARN.
svc$untag_resource(
  ResourceARN = "arn:aws:application-autoscaling:us-west-2:123456789012:sca...",
  TagKeys = list(
    "environment"
  )
)

## End(Not run)