Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Service

import type { Service } from "https://aws-api.deno.dev/v0.3/services/servicediscovery.ts?docs=full";

A complex type that contains information about the specified service.

interface Service {
Arn?: string | null;
CreateDate?: Date | number | null;
CreatorRequestId?: string | null;
Description?: string | null;
DnsConfig?: DnsConfig | null;
HealthCheckConfig?: HealthCheckConfig | null;
HealthCheckCustomConfig?: HealthCheckCustomConfig | null;
Id?: string | null;
InstanceCount?: number | null;
Name?: string | null;
NamespaceId?: string | null;
Type?: ServiceType | null;
}

§Properties

§
Arn?: string | null
[src]

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

§
CreateDate?: Date | number | null
[src]

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.

§
CreatorRequestId?: string | null
[src]

A unique string that identifies the request and that allows failed requests to be retried without the risk of running the operation twice. CreatorRequestId can be any unique string (for example, a date/timestamp).

§
Description?: string | null
[src]

The description of the service.

§
DnsConfig?: DnsConfig | null
[src]

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

§
HealthCheckConfig?: HealthCheckConfig | null
[src]

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

§
HealthCheckCustomConfig?: HealthCheckCustomConfig | null
[src]

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

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

§
Id?: string | null
[src]

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

§
InstanceCount?: number | null
[src]

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.

§
Name?: string | null
[src]

The name of the service.

§
NamespaceId?: string | null
[src]

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

§
Type?: ServiceType | null
[src]

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.