Class: Aws::ServiceDiscovery::Types::Namespace
- Inherits:
-
Struct
- Object
- Struct
- Aws::ServiceDiscovery::Types::Namespace
- Includes:
- Aws::Structure
- Defined in:
- 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
-
#arn ⇒ String
The Amazon Resource Name (ARN) that 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).
-
#creator_request_id ⇒ String
A unique string that identifies the request and that allows failed requests to be retried without the risk of running an operation twice.
-
#description ⇒ String
The description that you specify for the namespace when you create it.
-
#id ⇒ String
The ID of a namespace.
-
#name ⇒ 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.
-
#resource_owner ⇒ String
The ID of the Amazon Web Services account that created the namespace.
-
#service_count ⇒ Integer
The number of services that are associated with the namespace.
-
#type ⇒ String
The type of the namespace.
Instance Attribute Details
#arn ⇒ String
The Amazon Resource Name (ARN) that Cloud Map assigns to the namespace when you create it.
2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 |
# File 'lib/aws-sdk-servicediscovery/types.rb', line 2113 class Namespace < Struct.new( :id, :arn, :resource_owner, :name, :type, :description, :service_count, :properties, :create_date, :creator_request_id) SENSITIVE = [] include Aws::Structure end |
#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.
2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 |
# File 'lib/aws-sdk-servicediscovery/types.rb', line 2113 class Namespace < Struct.new( :id, :arn, :resource_owner, :name, :type, :description, :service_count, :properties, :create_date, :creator_request_id) SENSITIVE = [] include Aws::Structure end |
#creator_request_id ⇒ String
A unique string that identifies the request and that allows failed requests to be retried without the risk of running an operation twice.
2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 |
# File 'lib/aws-sdk-servicediscovery/types.rb', line 2113 class Namespace < Struct.new( :id, :arn, :resource_owner, :name, :type, :description, :service_count, :properties, :create_date, :creator_request_id) SENSITIVE = [] include Aws::Structure end |
#description ⇒ String
The description that you specify for the namespace when you create it.
2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 |
# File 'lib/aws-sdk-servicediscovery/types.rb', line 2113 class Namespace < Struct.new( :id, :arn, :resource_owner, :name, :type, :description, :service_count, :properties, :create_date, :creator_request_id) SENSITIVE = [] include Aws::Structure end |
#id ⇒ String
The ID of a namespace.
2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 |
# File 'lib/aws-sdk-servicediscovery/types.rb', line 2113 class Namespace < Struct.new( :id, :arn, :resource_owner, :name, :type, :description, :service_count, :properties, :create_date, :creator_request_id) SENSITIVE = [] include Aws::Structure end |
#name ⇒ String
The name of the namespace, such as ‘example.com`.
2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 |
# File 'lib/aws-sdk-servicediscovery/types.rb', line 2113 class Namespace < Struct.new( :id, :arn, :resource_owner, :name, :type, :description, :service_count, :properties, :create_date, :creator_request_id) SENSITIVE = [] include Aws::Structure end |
#properties ⇒ Types::NamespaceProperties
A complex type that contains information that’s specific to the type of the namespace.
2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 |
# File 'lib/aws-sdk-servicediscovery/types.rb', line 2113 class Namespace < Struct.new( :id, :arn, :resource_owner, :name, :type, :description, :service_count, :properties, :create_date, :creator_request_id) SENSITIVE = [] include Aws::Structure end |
#resource_owner ⇒ String
The ID of the Amazon Web Services 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 Cloud Map namespace sharing] in the *Cloud Map Developer Guide*.
[1]: docs.aws.amazon.com/cloud-map/latest/dg/sharing-namespaces.html
2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 |
# File 'lib/aws-sdk-servicediscovery/types.rb', line 2113 class Namespace < Struct.new( :id, :arn, :resource_owner, :name, :type, :description, :service_count, :properties, :create_date, :creator_request_id) SENSITIVE = [] include Aws::Structure end |
#service_count ⇒ Integer
The number of services that are associated with the namespace.
2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 |
# File 'lib/aws-sdk-servicediscovery/types.rb', line 2113 class Namespace < Struct.new( :id, :arn, :resource_owner, :name, :type, :description, :service_count, :properties, :create_date, :creator_request_id) SENSITIVE = [] include Aws::Structure end |
#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 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.
2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 |
# File 'lib/aws-sdk-servicediscovery/types.rb', line 2113 class Namespace < Struct.new( :id, :arn, :resource_owner, :name, :type, :description, :service_count, :properties, :create_date, :creator_request_id) SENSITIVE = [] include Aws::Structure end |