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 or Amazon Resource Name (ARN) of the service that you want to get attributes for. For services created in a namespace shared with your Amazon Web Services account, specify the service ARN. For more information about shared namespaces, see Cross-account Cloud Map namespace sharing in the Cloud Map Developer Guide. |
Value¶
A list with the following syntax:
list(
ServiceAttributes = list(
ServiceArn = "string",
ResourceOwner = "string",
Attributes = list(
"string"
)
)
)
Request syntax¶
svc$get_service_attributes(
ServiceId = "string"
)