Skip to content

Add Tags To Resource

docdb_add_tags_to_resource R Documentation

Adds metadata tags to an Amazon DocumentDB resource

Description

Adds metadata tags to an Amazon DocumentDB resource. You can use these tags with cost allocation reporting to track costs that are associated with Amazon DocumentDB resources or in a Condition statement in an Identity and Access Management (IAM) policy for Amazon DocumentDB.

Usage

docdb_add_tags_to_resource(ResourceName, Tags)

Arguments

ResourceName

[required] The Amazon DocumentDB resource that the tags are added to. This value is an Amazon Resource Name .

Tags

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

Value

An empty list.

Request syntax

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