fullyQualifiedDomainName property
Amazon Route 53 behavior depends on whether you specify a value for
IPAddress
.
If you specify a value for IPAddress
:
Amazon Route 53 sends health check requests to the specified IPv4 or IPv6
address and passes the value of FullyQualifiedDomainName
in the
Host
header for all health checks except TCP health checks.
This is typically the fully qualified DNS name of the endpoint on which you
want Route 53 to perform health checks.
When Route 53 checks the health of an endpoint, here is how it constructs
the Host
header:
-
If you specify a value of
80
forPort
andHTTP
orHTTP_STR_MATCH
forType
, Route 53 passes the value ofFullyQualifiedDomainName
to the endpoint in the Host header. -
If you specify a value of
443
forPort
andHTTPS
orHTTPS_STR_MATCH
forType
, Route 53 passes the value ofFullyQualifiedDomainName
to the endpoint in theHost
header. -
If you specify another value for
Port
and any value exceptTCP
forType
, Route 53 passesFullyQualifiedDomainName:Port
to the endpoint in theHost
header.
FullyQualifiedDomainName
,
Route 53 substitutes the value of IPAddress
in the
Host
header in each of the preceding cases.
If you don't specify a value for IPAddress
:
Route 53 sends a DNS request to the domain that you specify for
FullyQualifiedDomainName
at the interval that you specify for
RequestInterval
. Using an IPv4 address that DNS returns, Route
53 then checks the health of the endpoint.
If you want to check the health of weighted, latency, or failover resource
record sets and you choose to specify the endpoint only by
FullyQualifiedDomainName
, we recommend that you create a
separate health check for each endpoint. For example, create a health check
for each HTTP server that is serving content for www.example.com. For the
value of FullyQualifiedDomainName
, specify the domain name of
the server (such as us-east-2-www.example.com), not the name of the resource
record sets (www.example.com).
In addition, if the value that you specify for Type
is
HTTP
, HTTPS
, HTTP_STR_MATCH
, or
HTTPS_STR_MATCH
, Route 53 passes the value of
FullyQualifiedDomainName
in the Host
header, as it
does when you specify a value for IPAddress
. If the value of
Type
is TCP
, Route 53 doesn't pass a
Host
header.
Implementation
final String? fullyQualifiedDomainName;