Skip to content

The UntagLogGroup operation is on the path to deprecation

Description

The UntagLogGroup operation is on the path to deprecation. We recommend that you use untag_resource instead.

Removes the specified tags from the specified log group.

To list the tags for a log group, use list_tags_for_resource. To add tags, use tag_resource.

When using IAM policies to control tag management for CloudWatch Logs log groups, the condition keys aws:Resource/key-name and aws:TagKeys cannot be used to restrict which tags users can assign.

Usage

cloudwatchlogs_untag_log_group(logGroupName, tags)

Arguments

  • logGroupName

    [required] The name of the log group.

  • tags

    [required] The tag keys. The corresponding tags are removed from the log group.

Value

An empty list.

Request syntax

svc$untag_log_group(
  logGroupName = "string",
  tags = list(
    "string"
  )
)