DocsAWS 101BlogServices

Cloud Map / Service Discovery

Cloud Map — namespaces (public/private DNS + HTTP), services, instances, discovery queries.

JSON-RPC (X-Amz-Target) multi-tenant 30 operations

Quick start

import boto3
sd = boto3.client("servicediscovery", endpoint_url="http://localhost:4566",
                  region_name="us-east-1",
                  aws_access_key_id="test", aws_secret_access_key="test")
sd.create_http_namespace(Name="demo")

Supported operations

30 operations exposed by this service as of MiniStack 1.3.14. Extracted directly from the handler dispatch in the source module.

CreateHttpNamespace CreatePrivateDnsNamespace CreatePublicDnsNamespace CreateService DeleteNamespace DeleteService DeleteServiceAttributes DeregisterInstance DiscoverInstances DiscoverInstancesRevision GetInstance GetInstancesHealthStatus GetNamespace GetOperation GetService GetServiceAttributes ListInstances ListNamespaces ListOperations ListServices ListTagsForResource RegisterInstance TagResource UntagResource UpdateHttpNamespace UpdateInstanceCustomHealthStatus UpdatePrivateDnsNamespace UpdatePublicDnsNamespace UpdateService UpdateServiceAttributes

CloudFormation

No CloudFormation resource types map to this service yet. Resources can still be created via the SDK or CLI.

Known limitations

  • DiscoverInstances returns registered instances, but no DNS records are actually published.
  • Operations are marked SUCCESS synchronously — no eventual-consistency simulation.

Source

  • ministack/services/servicediscovery.py:80-140

Read the source to verify the ops list above — dispatch tables and handler functions are the ground truth.