Namespace - AWS Cloud Map

Namespace

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

ResourceOwner

The ID of the AWS account that created the namespace. If this isn't your account ID, it's the ID of the account that shared the namespace with your account. For more information about shared namespaces, see Cross-account AWS Cloud Map namespace sharing in the AWS Cloud Map Developer Guide.

Type: String

Length Constraints: Fixed length of 12.

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: