Method: Aws::ElasticBeanstalk::Types::EnvironmentDescription#health

Defined in:
lib/aws-sdk-elasticbeanstalk/types.rb

#healthString

Describes the health status of the environment. AWS Elastic Beanstalk indicates the failure levels for a running environment:

  • ‘Red`: Indicates the environment is not responsive. Occurs when three or more consecutive failures occur for an environment.

  • ‘Yellow`: Indicates that something is wrong. Occurs when two consecutive failures occur for an environment.

  • ‘Green`: Indicates the environment is healthy and fully functional.

  • ‘Grey`: Default health for a new environment. The environment is not fully launched and health checks have not started or health checks are suspended during an `UpdateEnvironment` or `RestartEnvironment` request.

Default: ‘Grey`

Returns:

  • (String)


2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
# File 'lib/aws-sdk-elasticbeanstalk/types.rb', line 2305

class EnvironmentDescription < Struct.new(
  :environment_name,
  :environment_id,
  :application_name,
  :version_label,
  :solution_stack_name,
  :platform_arn,
  :template_name,
  :description,
  :endpoint_url,
  :cname,
  :date_created,
  :date_updated,
  :status,
  :abortable_operation_in_progress,
  :health,
  :health_status,
  :resources,
  :tier,
  :environment_links,
  :environment_arn,
  :operations_role)
  SENSITIVE = []
  include Aws::Structure
end