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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

A complex type that contains information about the specified service.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#arnString

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

Returns:

  • (String)

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

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

    The date and time that the service was created, in Unix format and Coordinated Universal Time (UTC).

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

    A unique string that identifies the request and that allows failed requests to be retried without the risk of executing the operation twice.

#descriptionString

The description of the service.

Returns:

  • (String)

    The description of the service.

#dns_configTypes::DnsConfig

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

Returns:

  • (Types::DnsConfig)

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

#health_check_configTypes::HealthCheckConfig

Public DNS and HTTP namespaces only. A complex type that contains settings for an optional health check. If you specify settings for a health check, AWS Cloud Map associates the health check with the records that you specify in DnsConfig.

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

Returns:

  • (Types::HealthCheckConfig)

    Public DNS and HTTP namespaces only. A complex type that contains settings for an optional health check.

#health_check_custom_configTypes::HealthCheckCustomConfig

A complex type that contains information about an optional custom health check.

If you specify a health check configuration, you can specify either HealthCheckCustomConfig or HealthCheckConfig but not both.

Returns:

#idString

The ID that AWS Cloud Map assigned to the service when you created it.

Returns:

  • (String)

    The ID that AWS Cloud Map assigned to the service when you created it.

#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. The count might not reflect pending registrations and deregistrations.

Returns:

  • (Integer)

    The number of instances that are currently associated with the service.

#nameString

The name of the service.

Returns:

  • (String)

    The name of the service.

#namespace_idString

The ID of the namespace that was used to create the service.

Returns:

  • (String)

    The ID of the namespace that was used to create the service.