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

Class: Aws::ServiceDiscovery::Types::Service

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 the 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)


1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
# File 'gems/aws-sdk-servicediscovery/lib/aws-sdk-servicediscovery/types.rb', line 1928

class Service < Struct.new(
  :id,
  :arn,
  :name,
  :description,
  :instance_count,
  :dns_config,
  :health_check_config,
  :create_date,
  :creator_request_id)
  include Aws::Structure
end

#create_dateTime

The date and time that the service was created, in Unix 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)


1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
# File 'gems/aws-sdk-servicediscovery/lib/aws-sdk-servicediscovery/types.rb', line 1928

class Service < Struct.new(
  :id,
  :arn,
  :name,
  :description,
  :instance_count,
  :dns_config,
  :health_check_config,
  :create_date,
  :creator_request_id)
  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 the operation twice. CreatorRequestId can be any unique string, for example, a date/time stamp.

Returns:

  • (String)


1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
# File 'gems/aws-sdk-servicediscovery/lib/aws-sdk-servicediscovery/types.rb', line 1928

class Service < Struct.new(
  :id,
  :arn,
  :name,
  :description,
  :instance_count,
  :dns_config,
  :health_check_config,
  :create_date,
  :creator_request_id)
  include Aws::Structure
end

#descriptionString

The description of the service.

Returns:

  • (String)


1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
# File 'gems/aws-sdk-servicediscovery/lib/aws-sdk-servicediscovery/types.rb', line 1928

class Service < Struct.new(
  :id,
  :arn,
  :name,
  :description,
  :instance_count,
  :dns_config,
  :health_check_config,
  :create_date,
  :creator_request_id)
  include Aws::Structure
end

#dns_configTypes::DnsConfig

A complex type that contains information about the records that you want Route 53 to create when you register an instance.

Returns:



1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
# File 'gems/aws-sdk-servicediscovery/lib/aws-sdk-servicediscovery/types.rb', line 1928

class Service < Struct.new(
  :id,
  :arn,
  :name,
  :description,
  :instance_count,
  :dns_config,
  :health_check_config,
  :create_date,
  :creator_request_id)
  include Aws::Structure
end

#health_check_configTypes::HealthCheckConfig

Public DNS namespaces only. A complex type that contains settings for an optional health check. If you specify settings for a health check, Route 53 associates the health check with all the records that you specify in DnsConfig.

For information about the charges for health checks, see Route 53 Pricing.



1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
# File 'gems/aws-sdk-servicediscovery/lib/aws-sdk-servicediscovery/types.rb', line 1928

class Service < Struct.new(
  :id,
  :arn,
  :name,
  :description,
  :instance_count,
  :dns_config,
  :health_check_config,
  :create_date,
  :creator_request_id)
  include Aws::Structure
end

#idString

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

Returns:

  • (String)


1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
# File 'gems/aws-sdk-servicediscovery/lib/aws-sdk-servicediscovery/types.rb', line 1928

class Service < Struct.new(
  :id,
  :arn,
  :name,
  :description,
  :instance_count,
  :dns_config,
  :health_check_config,
  :create_date,
  :creator_request_id)
  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)


1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
# File 'gems/aws-sdk-servicediscovery/lib/aws-sdk-servicediscovery/types.rb', line 1928

class Service < Struct.new(
  :id,
  :arn,
  :name,
  :description,
  :instance_count,
  :dns_config,
  :health_check_config,
  :create_date,
  :creator_request_id)
  include Aws::Structure
end

#nameString

The name of the service.

Returns:

  • (String)


1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
# File 'gems/aws-sdk-servicediscovery/lib/aws-sdk-servicediscovery/types.rb', line 1928

class Service < Struct.new(
  :id,
  :arn,
  :name,
  :description,
  :instance_count,
  :dns_config,
  :health_check_config,
  :create_date,
  :creator_request_id)
  include Aws::Structure
end