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

Class: Aws::ServiceDiscovery::Types::ServiceSummary

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 service.

Instance Attribute Summary collapse

Instance Attribute Details

#arnString

The Amazon Resource Name (ARN) that Route 53 assigns to the service when you create it.

Returns:

  • (String)


2117
2118
2119
2120
2121
2122
2123
2124
# File 'gems/aws-sdk-servicediscovery/lib/aws-sdk-servicediscovery/types.rb', line 2117

class ServiceSummary < Struct.new(
  :id,
  :arn,
  :name,
  :description,
  :instance_count)
  include Aws::Structure
end

#descriptionString

The description that you specify when you create the service.

Returns:

  • (String)


2117
2118
2119
2120
2121
2122
2123
2124
# File 'gems/aws-sdk-servicediscovery/lib/aws-sdk-servicediscovery/types.rb', line 2117

class ServiceSummary < Struct.new(
  :id,
  :arn,
  :name,
  :description,
  :instance_count)
  include Aws::Structure
end

#idString

The ID that Route 53 assigned to the service when you created it.

Returns:

  • (String)


2117
2118
2119
2120
2121
2122
2123
2124
# File 'gems/aws-sdk-servicediscovery/lib/aws-sdk-servicediscovery/types.rb', line 2117

class ServiceSummary < Struct.new(
  :id,
  :arn,
  :name,
  :description,
  :instance_count)
  include Aws::Structure
end

#instance_countInteger

The number of instances that are currently associated with the service. Instances that were previously associated with the service but that have been deleted are not included in the count.

Returns:

  • (Integer)


2117
2118
2119
2120
2121
2122
2123
2124
# File 'gems/aws-sdk-servicediscovery/lib/aws-sdk-servicediscovery/types.rb', line 2117

class ServiceSummary < Struct.new(
  :id,
  :arn,
  :name,
  :description,
  :instance_count)
  include Aws::Structure
end

#nameString

The name of the service.

Returns:

  • (String)


2117
2118
2119
2120
2121
2122
2123
2124
# File 'gems/aws-sdk-servicediscovery/lib/aws-sdk-servicediscovery/types.rb', line 2117

class ServiceSummary < Struct.new(
  :id,
  :arn,
  :name,
  :description,
  :instance_count)
  include Aws::Structure
end