Skip to content

List Tags For Resource

configservice_list_tags_for_resource R Documentation

List the tags for Config resource

Description

List the tags for Config resource.

Usage

configservice_list_tags_for_resource(ResourceArn, Limit, NextToken)

Arguments

ResourceArn

[required] The Amazon Resource Name (ARN) that identifies the resource for which to list the tags. The following resources are supported:

  • ConfigurationRecorder

  • ConfigRule

  • OrganizationConfigRule

  • ConformancePack

  • OrganizationConformancePack

  • ConfigurationAggregator

  • AggregationAuthorization

  • StoredQuery

Limit

The maximum number of tags returned on each page. The limit maximum is 50. You cannot specify a number greater than 50. If you specify 0, Config uses the default.

NextToken

The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.

Value

A list with the following syntax:

list(
  Tags = list(
    list(
      Key = "string",
      Value = "string"
    )
  ),
  NextToken = "string"
)

Request syntax

svc$list_tags_for_resource(
  ResourceArn = "string",
  Limit = 123,
  NextToken = "string"
)