Skip to content

List Tags For Resource

route53_list_tags_for_resource R Documentation

Lists tags for one health check or hosted zone

Description

Lists tags for one health check or hosted zone.

For information about using tags for cost allocation, see Using Cost Allocation Tags in the Billing and Cost Management User Guide.

Usage

route53_list_tags_for_resource(ResourceType, ResourceId)

Arguments

ResourceType

[required] The type of the resource.

  • The resource type for health checks is healthcheck.

  • The resource type for hosted zones is hostedzone.

ResourceId

[required] The ID of the resource for which you want to retrieve tags.

Value

A list with the following syntax:

list(
  ResourceTagSet = list(
    ResourceType = "healthcheck"|"hostedzone",
    ResourceId = "string",
    Tags = list(
      list(
        Key = "string",
        Value = "string"
      )
    )
  )
)

Request syntax

svc$list_tags_for_resource(
  ResourceType = "healthcheck"|"hostedzone",
  ResourceId = "string"
)