Skip to content

Tag Resource

drs_tag_resource R Documentation

Adds or overwrites only the specified tags for the specified Elastic Disaster Recovery resource or resources

Description

Adds or overwrites only the specified tags for the specified Elastic Disaster Recovery resource or resources. When you specify an existing tag key, the value is overwritten with the new value. Each resource can have a maximum of 50 tags. Each tag consists of a key and optional value.

Usage

drs_tag_resource(resourceArn, tags)

Arguments

resourceArn

[required] ARN of the resource for which tags are to be added or updated.

tags

[required] Array of tags to be added or updated.

Value

An empty list.

Request syntax

svc$tag_resource(
  resourceArn = "string",
  tags = list(
    "string"
  )
)