libZSservicesZSamazonka-route53-autonamingZSamazonka-route53-autonaming
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Route53AutoNaming.Types.ServiceSummary

Description

 
Synopsis

Documentation

data ServiceSummary Source #

A complex type that contains information about a specified service.

See: newServiceSummary smart constructor.

Constructors

ServiceSummary' 

Fields

  • instanceCount :: Maybe Int

    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.

  • arn :: Maybe Text

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

  • healthCheckConfig :: Maybe HealthCheckConfig

    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.

  • createDate :: Maybe POSIX

    The date and time that the service was created.

  • healthCheckCustomConfig :: Maybe HealthCheckCustomConfig

    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.

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

  • name :: Maybe Text

    The name of the service.

  • id :: Maybe Text

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

  • type' :: Maybe ServiceType

    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.
  • dnsConfig :: Maybe DnsConfig

    Information about the Route 53 DNS records that you want Cloud Map to create when you register an instance.

  • description :: Maybe Text

    The description that you specify when you create the service.

Instances

Instances details
Eq ServiceSummary Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.Types.ServiceSummary

Read ServiceSummary Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.Types.ServiceSummary

Show ServiceSummary Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.Types.ServiceSummary

Generic ServiceSummary Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.Types.ServiceSummary

Associated Types

type Rep ServiceSummary :: Type -> Type #

NFData ServiceSummary Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.Types.ServiceSummary

Methods

rnf :: ServiceSummary -> () #

Hashable ServiceSummary Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.Types.ServiceSummary

FromJSON ServiceSummary Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.Types.ServiceSummary

type Rep ServiceSummary Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.Types.ServiceSummary

newServiceSummary :: ServiceSummary Source #

Create a value of ServiceSummary with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:instanceCount:ServiceSummary', serviceSummary_instanceCount - 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.

$sel:arn:ServiceSummary', serviceSummary_arn - The Amazon Resource Name (ARN) that Cloud Map assigns to the service when you create it.

$sel:healthCheckConfig:ServiceSummary', serviceSummary_healthCheckConfig - 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.

$sel:createDate:ServiceSummary', serviceSummary_createDate - The date and time that the service was created.

$sel:healthCheckCustomConfig:ServiceSummary', serviceSummary_healthCheckCustomConfig - 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.

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

$sel:name:ServiceSummary', serviceSummary_name - The name of the service.

$sel:id:ServiceSummary', serviceSummary_id - The ID that Cloud Map assigned to the service when you created it.

$sel:type':ServiceSummary', serviceSummary_type - 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.

$sel:dnsConfig:ServiceSummary', serviceSummary_dnsConfig - Information about the Route 53 DNS records that you want Cloud Map to create when you register an instance.

$sel:description:ServiceSummary', serviceSummary_description - The description that you specify when you create the service.

serviceSummary_instanceCount :: Lens' ServiceSummary (Maybe Int) Source #

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.

serviceSummary_arn :: Lens' ServiceSummary (Maybe Text) Source #

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

serviceSummary_healthCheckConfig :: Lens' ServiceSummary (Maybe HealthCheckConfig) Source #

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.

serviceSummary_createDate :: Lens' ServiceSummary (Maybe UTCTime) Source #

The date and time that the service was created.

serviceSummary_healthCheckCustomConfig :: Lens' ServiceSummary (Maybe HealthCheckCustomConfig) Source #

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.

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

serviceSummary_id :: Lens' ServiceSummary (Maybe Text) Source #

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

serviceSummary_type :: Lens' ServiceSummary (Maybe ServiceType) Source #

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.

serviceSummary_dnsConfig :: Lens' ServiceSummary (Maybe DnsConfig) Source #

Information about the Route 53 DNS records that you want Cloud Map to create when you register an instance.

serviceSummary_description :: Lens' ServiceSummary (Maybe Text) Source #

The description that you specify when you create the service.