Skip to content

Tag Resource

configservice_tag_resource R Documentation

Associates the specified tags to a resource with the specified resourceArn

Description

Associates the specified tags to a resource with the specified resourceArn. If existing tags on a resource are not specified in the request parameters, they are not changed. If existing tags are specified, however, then their values will be updated. When a resource is deleted, the tags associated with that resource are deleted as well.

Usage

configservice_tag_resource(ResourceArn, Tags)

Arguments

ResourceArn

[required] The Amazon Resource Name (ARN) that identifies the resource for which to list the tags. Currently, the supported resources are ConfigRule, ConfigurationAggregator and AggregatorAuthorization.

Tags

[required] An array of tag object.

Value

An empty list.

Request syntax

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