Class: Aws::ServiceDiscovery::Types::HttpInstanceSummary

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

Overview

In a response to a [DiscoverInstances] request, ‘HttpInstanceSummary` contains information about one instance that matches the values that you specified in the request.

[1]: docs.aws.amazon.com/cloud-map/latest/api/API_DiscoverInstances.html

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#attributesHash<String,String>

If you included any attributes when you registered the instance, the values of those attributes.

Returns:

  • (Hash<String,String>)


1334
1335
1336
1337
1338
1339
1340
1341
1342
# File 'lib/aws-sdk-servicediscovery/types.rb', line 1334

class HttpInstanceSummary < Struct.new(
  :instance_id,
  :namespace_name,
  :service_name,
  :health_status,
  :attributes)
  SENSITIVE = []
  include Aws::Structure
end

#health_statusString

If you configured health checking in the service, the current health status of the service instance.

Returns:

  • (String)


1334
1335
1336
1337
1338
1339
1340
1341
1342
# File 'lib/aws-sdk-servicediscovery/types.rb', line 1334

class HttpInstanceSummary < Struct.new(
  :instance_id,
  :namespace_name,
  :service_name,
  :health_status,
  :attributes)
  SENSITIVE = []
  include Aws::Structure
end

#instance_idString

The ID of an instance that matches the values that you specified in the request.

Returns:

  • (String)


1334
1335
1336
1337
1338
1339
1340
1341
1342
# File 'lib/aws-sdk-servicediscovery/types.rb', line 1334

class HttpInstanceSummary < Struct.new(
  :instance_id,
  :namespace_name,
  :service_name,
  :health_status,
  :attributes)
  SENSITIVE = []
  include Aws::Structure
end

#namespace_nameString

The name of the namespace that you specified when you registered the instance.

Returns:

  • (String)


1334
1335
1336
1337
1338
1339
1340
1341
1342
# File 'lib/aws-sdk-servicediscovery/types.rb', line 1334

class HttpInstanceSummary < Struct.new(
  :instance_id,
  :namespace_name,
  :service_name,
  :health_status,
  :attributes)
  SENSITIVE = []
  include Aws::Structure
end

#service_nameString

The name of the service that you specified when you registered the instance.

Returns:

  • (String)


1334
1335
1336
1337
1338
1339
1340
1341
1342
# File 'lib/aws-sdk-servicediscovery/types.rb', line 1334

class HttpInstanceSummary < Struct.new(
  :instance_id,
  :namespace_name,
  :service_name,
  :health_status,
  :attributes)
  SENSITIVE = []
  include Aws::Structure
end