Learn R Programming

paws.security.identity (version 0.7.0)

ram_tag_resource: Adds the specified tag keys and values to a resource share or managed permission

Description

Adds the specified tag keys and values to a resource share or managed permission. If you choose a resource share, the tags are attached to only the resource share, not to the resources that are in the resource share.

See https://www.paws-r-sdk.com/docs/ram_tag_resource/ for full documentation.

Usage

ram_tag_resource(resourceShareArn = NULL, tags, resourceArn = NULL)

Arguments

resourceShareArn

Specifies the Amazon Resource Name (ARN) of the resource share that you want to add tags to. You must specify either resourceShareArn, or resourceArn, but not both.

tags

[required] A list of one or more tag key and value pairs. The tag key must be present and not be an empty string. The tag value must be present but can be an empty string.

resourceArn

Specifies the Amazon Resource Name (ARN) of the managed permission that you want to add tags to. You must specify either resourceArn, or resourceShareArn, but not both.