Skip to content

Get Service Attributes

servicediscovery_get_service_attributes R Documentation

Returns the attributes associated with a specified service

Description

Returns the attributes associated with a specified service.

Usage

servicediscovery_get_service_attributes(ServiceId)

Arguments

ServiceId

[required] The ID of the service that you want to get attributes for.

Value

A list with the following syntax:

list(
  ServiceAttributes = list(
    ServiceArn = "string",
    Attributes = list(
      "string"
    )
  )
)

Request syntax

svc$get_service_attributes(
  ServiceId = "string"
)