Skip to content

Add Tags To Resource

rds_add_tags_to_resource R Documentation

Adds metadata tags to an Amazon RDS resource

Description

Adds metadata tags to an Amazon RDS resource. These tags can also be used with cost allocation reporting to track cost associated with Amazon RDS resources, or used in a Condition statement in an IAM policy for Amazon RDS.

For an overview on tagging your relational database resources, see Tagging Amazon RDS Resources or Tagging Amazon Aurora and Amazon RDS Resources.

Usage

rds_add_tags_to_resource(ResourceName, Tags)

Arguments

ResourceName

[required] The Amazon RDS resource that the tags are added to. This value is an Amazon Resource Name (ARN). For information about creating an ARN, see Constructing an RDS Amazon Resource Name (ARN).

Tags

[required] The tags to be assigned to the Amazon RDS resource.

Value

An empty list.

Request syntax

svc$add_tags_to_resource(
  ResourceName = "string",
  Tags = list(
    list(
      Key = "string",
      Value = "string"
    )
  )
)