Learn R Programming

paws.security.identity (version 0.7.0)

iam_tag_role: Adds one or more tags to an IAM role

Description

Adds one or more tags to an IAM role. The role can be a regular role or a service-linked role. If a tag with the same key name already exists, then that tag is overwritten with the new value.

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

Usage

iam_tag_role(RoleName, Tags)

Arguments

RoleName

[required] The name of the IAM role to which you want to add tags.

This parameter accepts (through its regex pattern) a string of characters that consist of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

Tags

[required] The list of tags that you want to attach to the IAM role. Each tag consists of a key name and an associated value.