Amazon Cloud Map · JSON Structure

Cloud Map Create Service Request Structure

Request body for creating a service.

Type: object Properties: 5
Cloud MapService DiscoveryMicroservicesDNS

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

Properties

Name NamespaceId Description DnsConfig CreatorRequestId

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-create-service-request-structure.json",
  "name": "CreateServiceRequest",
  "description": "Request body for creating a service.",
  "type": "object",
  "properties": {
    "Name": {
      "type": "string",
      "description": "The name that you want to assign to the service.",
      "example": "payment-service"
    },
    "NamespaceId": {
      "type": "string",
      "description": "The ID of the namespace that you want to use to create the service."
    },
    "Description": {
      "type": "string",
      "description": "A description for the service."
    },
    "DnsConfig": {
      "type": "object",
      "description": "A complex type that contains information about the Amazon Route 53 records that you want AWS Cloud Map to create when you register an instance."
    },
    "CreatorRequestId": {
      "type": "string",
      "description": "A unique string that identifies the request and allows failed CreateService requests to be retried."
    }
  }
}