Skip to content

Tag Resource

worklink_tag_resource R Documentation

Adds or overwrites one or more tags for the specified resource, such as a fleet

Description

Adds or overwrites one or more tags for the specified resource, such as a fleet. Each tag consists of a key and an optional value. If a resource already has a tag with the same key, this operation updates its value.

Usage

worklink_tag_resource(ResourceArn, Tags)

Arguments

ResourceArn

[required] The Amazon Resource Name (ARN) of the fleet.

Tags

[required] The tags to add to the resource. A tag is a key-value pair.

Value

An empty list.

Request syntax

svc$tag_resource(
  ResourceArn = "string",
  Tags = list(
    "string"
  )
)