Skip to main content

health_check_last_failure_reasons

Creates, updates, deletes, gets or lists a health_check_last_failure_reasons resource.

Overview

Namehealth_check_last_failure_reasons
TypeResource
Idaws.route53.health_check_last_failure_reasons

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
health_check_observationsstringA list that contains one Observation element for each Amazon Route 53 health checker that is reporting a last failure reason.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_health_check_last_failure_reasonselecthealth_check_id, regionGets the reason that a specified health check failed most recently.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
health_check_idstringThe ID for the health check for which you want the last failure reason. When you created the health check, CreateHealthCheck returned the ID in the response, in the HealthCheckId element. If you want to get the last failure reason for a calculated health check, you must use the Amazon Route 53 console or the CloudWatch console. You can't use GetHealthCheckLastFailureReason for a calculated health check.
regionstringAWS region (default: us-east-1)

SELECT examples

Gets the reason that a specified health check failed most recently.

SELECT
health_check_observations
FROM aws.route53.health_check_last_failure_reasons
WHERE health_check_id = '{{ health_check_id }}' -- required
AND region = '{{ region }}' -- required
;