ServiceSummary
import type { ServiceSummary } from "https://aws-api.deno.dev/v0.3/services/servicediscovery.ts?docs=full";
A complex type that contains information about a specified service.
§Properties
The Amazon Resource Name (ARN) that Cloud Map assigns to the service when you create it.
Public DNS and HTTP namespaces only. Settings for an optional health check.
If you specify settings for a health check, Cloud Map associates the health check with the records that you specify in DnsConfig
.
Information about an optional custom health check. A custom health check, which requires that you use a third-party health checker to evaluate the health of your resources, is useful in the following circumstances:
- You can't use a health check that's defined by
HealthCheckConfig
because the resource isn't available over the internet. For example, you can use a custom health check when the instance is in an Amazon VPC. (To check the health of resources in a VPC, the health checker must also be in the VPC.) - You want to use a third-party health checker regardless of where your resources are located.
! IMPORTANT:
! If you specify a health check configuration, you can specify either HealthCheckCustomConfig
or HealthCheckConfig
but not both.
The number of instances that are currently associated with the service. Instances that were previously associated with the service but that are deleted aren't included in the count. The count might not reflect pending registrations and deregistrations.
Describes the systems that can be used to discover the service instances.
DNS_HTTP:
The service instances can be discovered using either DNS queries or the DiscoverInstances
API operation.
HTTP:
The service instances can only be discovered using the DiscoverInstances
API operation.
DNS: Reserved.