Skip to main content

target_healths

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

Overview

Nametarget_healths
TypeResource
Idaws.elbv2.target_healths

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
administrative_overridestringThe administrative override information for the target.
anomaly_detectionstringThe anomaly detection result for the target. If no anomalies were detected, the result is normal. If anomalies were detected, the result is anomalous.
health_check_portstringThe port to use to connect with the target.
targetstringThe description of the target.
target_healthstringThe health information for the target.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_target_healthselectTargetGroupArn, regionTargets, IncludeDescribes the health of the specified targets or all of your targets.

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
TargetGroupArnstringThe Amazon Resource Name (ARN) of the target group.
regionstringAWS region (default: us-east-1)
IncludearrayUsed to include anomaly detection information.
TargetsarrayThe targets.

SELECT examples

Describes the health of the specified targets or all of your targets.

SELECT
administrative_override,
anomaly_detection,
health_check_port,
target,
target_health
FROM aws.elbv2.target_healths
WHERE TargetGroupArn = '{{ TargetGroupArn }}' -- required
AND region = '{{ region }}' -- required
AND Targets = '{{ Targets }}'
AND Include = '{{ Include }}'
;