Skip to content

Tag Resource

managedgrafana_tag_resource R Documentation

The TagResource operation associates tags with an Amazon Managed Grafana resource

Description

The tag_resource operation associates tags with an Amazon Managed Grafana resource. Currently, the only resource that can be tagged is workspaces.

If you specify a new tag key for the resource, this tag is appended to the list of tags associated with the resource. If you specify a tag key that is already associated with the resource, the new tag value that you specify replaces the previous value for that tag.

Usage

managedgrafana_tag_resource(resourceArn, tags)

Arguments

resourceArn

[required] The ARN of the resource the tag is associated with.

tags

[required] The list of tag keys and values to associate with the resource. You can associate tag keys only, tags (key and values) only or a combination of tag keys and tags.

Value

An empty list.

Request syntax

svc$tag_resource(
  resourceArn = "string",
  tags = list(
    "string"
  )
)