Skip to content

Tag Resource

apigateway_tag_resource R Documentation

Adds or updates a tag on a given resource

Description

Adds or updates a tag on a given resource.

Usage

apigateway_tag_resource(resourceArn, tags)

Arguments

resourceArn

[required] The ARN of a resource that can be tagged.

tags

[required] The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not start with ⁠aws:⁠. The tag value can be up to 256 characters.

Value

An empty list.

Request syntax

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