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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-servicediscovery/lib/aws-sdk-servicediscovery/types.rb

Overview

A complex type that contains information about a specified namespace.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#arnString

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

Returns:

  • (String)


1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
# File 'gems/aws-sdk-servicediscovery/lib/aws-sdk-servicediscovery/types.rb', line 1987

class Namespace < Struct.new(
  :id,
  :arn,
  :name,
  :type,
  :description,
  :service_count,
  :properties,
  :create_date,
  :creator_request_id)
  SENSITIVE = []
  include Aws::Structure
end

#create_dateTime

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)


1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
# File 'gems/aws-sdk-servicediscovery/lib/aws-sdk-servicediscovery/types.rb', line 1987

class Namespace < Struct.new(
  :id,
  :arn,
  :name,
  :type,
  :description,
  :service_count,
  :properties,
  :create_date,
  :creator_request_id)
  SENSITIVE = []
  include Aws::Structure
end

#creator_request_idString

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)


1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
# File 'gems/aws-sdk-servicediscovery/lib/aws-sdk-servicediscovery/types.rb', line 1987

class Namespace < Struct.new(
  :id,
  :arn,
  :name,
  :type,
  :description,
  :service_count,
  :properties,
  :create_date,
  :creator_request_id)
  SENSITIVE = []
  include Aws::Structure
end

#descriptionString

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

Returns:

  • (String)


1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
# File 'gems/aws-sdk-servicediscovery/lib/aws-sdk-servicediscovery/types.rb', line 1987

class Namespace < Struct.new(
  :id,
  :arn,
  :name,
  :type,
  :description,
  :service_count,
  :properties,
  :create_date,
  :creator_request_id)
  SENSITIVE = []
  include Aws::Structure
end

#idString

The ID of a namespace.

Returns:

  • (String)


1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
# File 'gems/aws-sdk-servicediscovery/lib/aws-sdk-servicediscovery/types.rb', line 1987

class Namespace < Struct.new(
  :id,
  :arn,
  :name,
  :type,
  :description,
  :service_count,
  :properties,
  :create_date,
  :creator_request_id)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

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

Returns:

  • (String)


1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
# File 'gems/aws-sdk-servicediscovery/lib/aws-sdk-servicediscovery/types.rb', line 1987

class Namespace < Struct.new(
  :id,
  :arn,
  :name,
  :type,
  :description,
  :service_count,
  :properties,
  :create_date,
  :creator_request_id)
  SENSITIVE = []
  include Aws::Structure
end

#propertiesTypes::NamespaceProperties

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



1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
# File 'gems/aws-sdk-servicediscovery/lib/aws-sdk-servicediscovery/types.rb', line 1987

class Namespace < Struct.new(
  :id,
  :arn,
  :name,
  :type,
  :description,
  :service_count,
  :properties,
  :create_date,
  :creator_request_id)
  SENSITIVE = []
  include Aws::Structure
end

#service_countInteger

The number of services that are associated with the namespace.

Returns:

  • (Integer)


1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
# File 'gems/aws-sdk-servicediscovery/lib/aws-sdk-servicediscovery/types.rb', line 1987

class Namespace < Struct.new(
  :id,
  :arn,
  :name,
  :type,
  :description,
  :service_count,
  :properties,
  :create_date,
  :creator_request_id)
  SENSITIVE = []
  include Aws::Structure
end

#typeString

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.

Returns:

  • (String)


1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
# File 'gems/aws-sdk-servicediscovery/lib/aws-sdk-servicediscovery/types.rb', line 1987

class Namespace < Struct.new(
  :id,
  :arn,
  :name,
  :type,
  :description,
  :service_count,
  :properties,
  :create_date,
  :creator_request_id)
  SENSITIVE = []
  include Aws::Structure
end