Skip to content

Untag Log Group

cloudwatchlogs_untag_log_group R Documentation

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.

CloudWatch Logs doesn’t support IAM policies that prevent users from assigning specified tags to log groups using the aws:Resource/key-name or aws:TagKeys condition keys.

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"
  )
)