Public DNS namespaces only. A complex type that contains settings for an optional
health check. If you specify settings for a health check, Amazon Route 53 associates
the health check with all the records that you specify in
A and AAAA records
DnsConfig includes configurations for both A and AAAA records, Route
53 creates a health check that uses the IPv4 address to check the health of the resource.
If the endpoint that is specified by the IPv4 address is unhealthy, Route 53 considers
both the A and AAAA records to be unhealthy.
You can't specify settings for
HealthCheckConfig when the
CNAME for the value of
Type. If you do, the
request will fail with an
The health check uses 30 seconds as the request interval. This is the number of seconds between the time that each Route 53 health checker gets a response from your endpoint and the time that it sends the next health check request. A health checker in each data center around the world sends your endpoint a health check request every 30 seconds. On average, your endpoint receives a health check request about every two seconds. Health checkers in different data centers don't coordinate with one another, so you'll sometimes see several requests per second followed by a few seconds with no health checks at all.
Health checking regions
Health checkers perform checks from all Route 53 health-checking regions. For a list of the current regions, see Regions.
When you register an instance, if you include the
attribute, Route 53 creates an alias record. Note the following:
Route 53 automatically sets
EvaluateTargetHealth to true for alias records.
EvaluateTargetHealth is true, the alias record inherits the health
of the referenced AWS resource. such as an ELB load balancer. For more information,
If you include
HealthCheckConfig and then use the service to register
an instance that creates an alias record, Route 53 doesn't create the health check.
For information about the charges for health checks, see Route 53 Pricing.
public class HealthCheckConfig
The HealthCheckConfig type exposes the following members
Gets and sets the property FailureThreshold.
The number of consecutive health checks that an endpoint must pass or fail for Route 53 to change the current status of the endpoint from unhealthy to healthy or vice versa. For more information, see How Route 53 Determines Whether an Endpoint Is Healthy in the Route 53 Developer Guide.
Gets and sets the property ResourcePath.
The path that you want Route 53 to request when performing health checks. The path
can be any value for which your endpoint will return an HTTP status code of 2xx or
3xx when the endpoint is healthy, such as the file
Gets and sets the property Type.
The type of health check that you want to create, which indicates how Route 53 determines whether an endpoint is healthy.
You can't change the value of
You can create the following types of health checks:
For more information, see How Route 53 Determines Whether an Endpoint Is Healthy in the Route 53 Developer Guide.
Supported in: 1.3
Supported in: 4.5, 4.0, 3.5
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms