Amazon Cloud Map · JSON Structure

Cloud Map Service Structure

Represents a Cloud Map service used for service discovery.

Type: object Properties: 6
Cloud MapService DiscoveryMicroservicesDNS

Service is a JSON Structure definition published by Amazon Cloud Map, describing 6 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

Id Arn Name NamespaceId Description InstanceCount

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-cloud-map/refs/heads/main/json-structure/cloud-map-service-structure.json",
  "name": "Service",
  "description": "Represents a Cloud Map service used for service discovery.",
  "type": "object",
  "properties": {
    "Id": {
      "type": "string",
      "description": "The ID of the service.",
      "example": "svc-abc12345"
    },
    "Arn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of the service."
    },
    "Name": {
      "type": "string",
      "description": "The name of the service.",
      "example": "payment-service"
    },
    "NamespaceId": {
      "type": "string",
      "description": "The ID of the namespace."
    },
    "Description": {
      "type": "string",
      "description": "The description of the service."
    },
    "InstanceCount": {
      "type": "int32",
      "description": "The number of instances that are currently associated with the service."
    }
  }
}