cloudwatchlogs_tag_log_group: Adds or updates the specified tags for the specified log...

Description Usage Arguments Value Request syntax

View source: R/cloudwatchlogs_operations.R

Description

Adds or updates the specified tags for the specified log group.

To list the tags for a log group, use list_tags_log_group. To remove tags, use untag_log_group.

For more information about tags, see Tag Log Groups in Amazon CloudWatch Logs in the Amazon CloudWatch Logs User Guide.

Usage

1
cloudwatchlogs_tag_log_group(logGroupName, tags)

Arguments

logGroupName

[required] The name of the log group.

tags

[required] The key-value pairs to use for the tags.

Value

An empty list.

Request syntax

1
2
3
4
5
6
svc$tag_log_group(
  logGroupName = "string",
  tags = list(
    "string"
  )
)

paws.management documentation built on Aug. 23, 2021, 9:11 a.m.