target_healths
Creates, updates, deletes, gets or lists a target_healths resource.
Overview
| Name | target_healths |
| Type | Resource |
| Id | aws.elbv2.target_healths |
Fields
The following fields are returned by SELECT queries:
- describe_target_health
| Name | Datatype | Description |
|---|---|---|
administrative_override | string | The administrative override information for the target. |
anomaly_detection | string | The 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_port | string | The port to use to connect with the target. |
target | string | The description of the target. |
target_health | string | The health information for the target. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
describe_target_health | select | TargetGroupArn, region | Targets, Include | Describes 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.
| Name | Datatype | Description |
|---|---|---|
TargetGroupArn | string | The Amazon Resource Name (ARN) of the target group. |
region | string | AWS region (default: us-east-1) |
Include | array | Used to include anomaly detection information. |
Targets | array | The targets. |
SELECT examples
- describe_target_health
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 }}'
;