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.”

Namespace

Focus mode
Namespace - AWS Cloud Map

A complex type that contains information about a specified namespace.

Contents

Arn

The Amazon Resource Name (ARN) that AWS Cloud Map assigns to the namespace when you create it.

Type: String

Length Constraints: Maximum length of 255.

Required: No

CreateDate

The date that the namespace was created, in Unix date/time format and Coordinated Universal Time (UTC). The value of CreateDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

Type: Timestamp

Required: No

CreatorRequestId

A unique string that identifies the request and that allows failed requests to be retried without the risk of running an operation twice.

Type: String

Length Constraints: Maximum length of 64.

Required: No

Description

The description that you specify for the namespace when you create it.

Type: String

Length Constraints: Maximum length of 1024.

Required: No

Id

The ID of a namespace.

Type: String

Length Constraints: Maximum length of 64.

Required: No

Name

The name of the namespace, such as example.com.

Type: String

Length Constraints: Maximum length of 1024.

Pattern: ^[!-~]{1,1024}$

Required: No

Properties

A complex type that contains information that's specific to the type of the namespace.

Type: NamespaceProperties object

Required: No

ServiceCount

The number of services that are associated with the namespace.

Type: Integer

Required: No

Type

The type of the namespace. The methods for discovering instances depends on the value that you specify:

HTTP

Instances can be discovered only programmatically, using the AWS Cloud Map DiscoverInstances API.

DNS_PUBLIC

Instances can be discovered using public DNS queries and using the DiscoverInstances API.

DNS_PRIVATE

Instances can be discovered using DNS queries in VPCs and using the DiscoverInstances API.

Type: String

Valid Values: DNS_PUBLIC | DNS_PRIVATE | HTTP

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

On this page

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