Skip to main content

instances_healths

Creates, updates, deletes, gets or lists an instances_healths resource.

Overview

Nameinstances_healths
TypeResource
Idaws.elasticbeanstalk.instances_healths

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
application_metricsstringRequest metrics from your application.
availability_zonestringThe availability zone in which the instance runs.
causesstringRepresents the causes, which provide more information about the current health status.
colorstringRepresents the color indicator that gives you information about the health of the EC2 instance. For more information, see Health Colors and Statuses.
deploymentstringInformation about the most recent deployment to an instance.
health_statusstringReturns the health status of the specified instance. For more information, see Health Colors and Statuses.
instance_idstringThe ID of the Amazon EC2 instance.
instance_typestringThe instance's type.
launched_atstringThe time at which the EC2 instance was launched.
systemstringOperating system metrics from the instance.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_instances_healthselectregionEnvironmentName, EnvironmentId, AttributeNames, NextTokenRetrieves detailed information about the health of instances in your AWS Elastic Beanstalk. This operation requires enhanced health reporting.

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
regionstringAWS region (default: us-east-1)
AttributeNamesarraySpecifies the response elements you wish to receive. To retrieve all attributes, set to All. If no attribute names are specified, returns a list of instances.
EnvironmentIdstringSpecify the AWS Elastic Beanstalk environment by ID.
EnvironmentNamestringSpecify the AWS Elastic Beanstalk environment by name.
NextTokenstringSpecify the pagination token returned by a previous call.

SELECT examples

Retrieves detailed information about the health of instances in your AWS Elastic Beanstalk. This operation requires enhanced health reporting.

SELECT
application_metrics,
availability_zone,
causes,
color,
deployment,
health_status,
instance_id,
instance_type,
launched_at,
system
FROM aws.elasticbeanstalk.instances_healths
WHERE region = '{{ region }}' -- required
AND EnvironmentName = '{{ EnvironmentName }}'
AND EnvironmentId = '{{ EnvironmentId }}'
AND AttributeNames = '{{ AttributeNames }}'
AND NextToken = '{{ NextToken }}'
;