Skip to content

Tag Resource

route53resolver_tag_resource R Documentation

Adds one or more tags to a specified resource

Description

Adds one or more tags to a specified resource.

Usage

route53resolver_tag_resource(ResourceArn, Tags)

Arguments

ResourceArn

[required] The Amazon Resource Name (ARN) for the resource that you want to add tags to. To get the ARN for a resource, use the applicable Get or List command:

  • get_resolver_endpoint

  • get_resolver_rule

  • get_resolver_rule_association

  • list_resolver_endpoints

  • list_resolver_rule_associations

  • list_resolver_rules

Tags

[required] The tags that you want to add to the specified resource.

Value

An empty list.

Request syntax

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