Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data ServiceSummary = ServiceSummary' {}
- newServiceSummary :: ServiceSummary
- serviceSummary_arn :: Lens' ServiceSummary (Maybe Text)
- serviceSummary_createDate :: Lens' ServiceSummary (Maybe UTCTime)
- serviceSummary_description :: Lens' ServiceSummary (Maybe Text)
- serviceSummary_dnsConfig :: Lens' ServiceSummary (Maybe DnsConfig)
- serviceSummary_healthCheckConfig :: Lens' ServiceSummary (Maybe HealthCheckConfig)
- serviceSummary_healthCheckCustomConfig :: Lens' ServiceSummary (Maybe HealthCheckCustomConfig)
- serviceSummary_id :: Lens' ServiceSummary (Maybe Text)
- serviceSummary_instanceCount :: Lens' ServiceSummary (Maybe Int)
- serviceSummary_name :: Lens' ServiceSummary (Maybe Text)
- serviceSummary_type :: Lens' ServiceSummary (Maybe ServiceType)
Documentation
data ServiceSummary Source #
A complex type that contains information about a specified service.
See: newServiceSummary
smart constructor.
ServiceSummary' | |
|
Instances
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:arn:ServiceSummary'
, serviceSummary_arn
- The Amazon Resource Name (ARN) that Cloud Map assigns to the service
when you create it.
$sel:createDate:ServiceSummary'
, serviceSummary_createDate
- The date and time that the service was created.
$sel:description:ServiceSummary'
, serviceSummary_description
- The description that you specify when you create the service.
$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: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: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:id:ServiceSummary'
, serviceSummary_id
- The ID that Cloud Map assigned to the service when you created it.
$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:name:ServiceSummary'
, serviceSummary_name
- The name of the service.
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.
serviceSummary_arn :: Lens' ServiceSummary (Maybe Text) Source #
The Amazon Resource Name (ARN) that Cloud Map assigns to the service when you create it.
serviceSummary_createDate :: Lens' ServiceSummary (Maybe UTCTime) Source #
The date and time that the service was created.
serviceSummary_description :: Lens' ServiceSummary (Maybe Text) Source #
The description that you specify when you create the service.
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_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_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_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_name :: Lens' ServiceSummary (Maybe Text) Source #
The name of the service.
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.