Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Listing AWS Cloud Map services in a namespace

Focus mode
Listing AWS Cloud Map services in a namespace - AWS Cloud Map

To view a list of the services that you created in a namespace, perform the following procedure.

AWS Management Console
  1. Sign in to the AWS Management Console and open the AWS Cloud Map console at https://console.aws.amazon.com/cloudmap/.

  2. In the navigation pane, choose Namespaces.

  3. Choose the name of the namespace that contains the services that you want to list. You can view a list of all services under Services and enter the service name or ID in the search field to find a specific service.

AWS CLI
  • List services with the list-services command. The following command lists all services in a namespace using the namespace ID as the filter. Replace the red value with your own.

    aws servicediscovery list-services --filters Name=NAMESPACE_ID,Values=ns-1234567890abcdef,Condition=EQ
AWS SDK for Python (Boto3)
  1. If you don't already have Boto3 installed, you can find instructions for installing, configuring, and using Boto3 here.

  2. Import Boto3 and use servicediscovery as your service.

    import boto3 client = boto3.client('servicediscovery')
  3. List services with list_services().

    response = client.list_services() # If you want to see the response print(response)

    Example response output

    { 'Services': [ { 'Arn': 'arn:aws:servicediscovery:us-west-2:123456789012:service/srv-xxxxxxxxxxxxxxxx', 'CreateDate': 1587081768.334, 'DnsConfig': { 'DnsRecords': [ { 'TTL': 60, 'Type': 'A', }, ], 'RoutingPolicy': 'MULTIVALUE', }, 'Id': 'srv-xxxxxxxxxxxxxxxx', 'Name': 'myservice', }, ], 'ResponseMetadata': { '...': '...', }, }
  1. Sign in to the AWS Management Console and open the AWS Cloud Map console at https://console.aws.amazon.com/cloudmap/.

  2. In the navigation pane, choose Namespaces.

  3. Choose the name of the namespace that contains the services that you want to list. You can view a list of all services under Services and enter the service name or ID in the search field to find a specific service.

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.