Amazon Cloud Map · Schema
CreateServiceRequest
Request body for creating a service.
Cloud MapService DiscoveryMicroservicesDNS
Properties
| Name | Type | Description |
|---|---|---|
| Name | string | The name that you want to assign to the service. |
| NamespaceId | string | The ID of the namespace that you want to use to create the service. |
| Description | string | A description for the service. |
| DnsConfig | object | 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 | string | A unique string that identifies the request and allows failed CreateService requests to be retried. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/amazon-cloud-map/refs/heads/main/json-schema/cloud-map-create-service-request-schema.json",
"title": "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."
}
},
"required": [
"Name"
]
}