Skip to content

Tag Resource

pi_tag_resource R Documentation

Adds metadata tags to the Amazon RDS Performance Insights resource

Description

Adds metadata tags to the Amazon RDS Performance Insights resource.

Usage

pi_tag_resource(ServiceType, ResourceARN, Tags)

Arguments

ServiceType

[required] The Amazon Web Services service for which Performance Insights returns metrics. Valid value is RDS.

ResourceARN

[required] The Amazon RDS Performance Insights 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 metadata assigned to an Amazon RDS resource consisting of a key-value pair.

Value

An empty list.

Request syntax

svc$tag_resource(
  ServiceType = "RDS"|"DOCDB",
  ResourceARN = "string",
  Tags = list(
    list(
      Key = "string",
      Value = "string"
    )
  )
)