You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::ServiceDiscovery::Types::Namespace

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

A complex type that contains information about a specified namespace.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#arn ⇒ String

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

Returns:

  • (String) —

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

#create_date ⇒ Time

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.

Returns:

  • (Time) —

    The date that the namespace was created, in Unix date/time format and Coordinated Universal Time (UTC).

#creator_request_id ⇒ String

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

Returns:

  • (String) —

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

#description ⇒ String

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

Returns:

  • (String) —

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

#id ⇒ String

The ID of a namespace.

Returns:

  • (String) —

    The ID of a namespace.

#name ⇒ String

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

Returns:

  • (String) —

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

#properties ⇒ Types::NamespaceProperties

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

Returns:

#service_count ⇒ Integer

The number of services that are associated with the namespace.

Returns:

  • (Integer) —

    The number of services that are associated with the namespace.

#type ⇒ String

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.

    Possible values:

    • DNS_PUBLIC
    • DNS_PRIVATE
    • HTTP

Returns:

  • (String) —

    The type of the namespace.