Skip to content

Tag Resource

macie2_tag_resource R Documentation

Adds or updates one or more tags (keys and values) that are associated with an Amazon Macie resource

Description

Adds or updates one or more tags (keys and values) that are associated with an Amazon Macie resource.

Usage

macie2_tag_resource(resourceArn, tags)

Arguments

resourceArn

[required] The Amazon Resource Name (ARN) of the resource.

tags

[required] A map of key-value pairs that specifies the tags to associate with the resource.

A resource can have a maximum of 50 tags. Each tag consists of a tag key and an associated tag value. The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.

Value

An empty list.

Request syntax

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