Class: Aws::ElasticBeanstalk::Types::DescribeEnvironmentHealthRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-elasticbeanstalk/lib/aws-sdk-elasticbeanstalk/types.rb

Overview

Note:

When making an API call, you may pass DescribeEnvironmentHealthRequest data as a hash:

{
  environment_name: "EnvironmentName",
  environment_id: "EnvironmentId",
  attribute_names: ["Status"], # accepts Status, Color, Causes, ApplicationMetrics, InstancesHealth, All, HealthStatus, RefreshedAt
}

See the example below to learn how to create a request body.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#attribute_namesArray<String>

Specify the response elements to return. To retrieve all attributes, set to All. If no attribute names are specified, returns the name of the environment.

Returns:

  • (Array<String>)


2068
2069
2070
2071
2072
2073
2074
# File 'gems/aws-sdk-elasticbeanstalk/lib/aws-sdk-elasticbeanstalk/types.rb', line 2068

class DescribeEnvironmentHealthRequest < Struct.new(
  :environment_name,
  :environment_id,
  :attribute_names)
  SENSITIVE = []
  include Aws::Structure
end

#environment_idString

Specify the environment by ID.

You must specify either this or an EnvironmentName, or both.

Returns:

  • (String)


2068
2069
2070
2071
2072
2073
2074
# File 'gems/aws-sdk-elasticbeanstalk/lib/aws-sdk-elasticbeanstalk/types.rb', line 2068

class DescribeEnvironmentHealthRequest < Struct.new(
  :environment_name,
  :environment_id,
  :attribute_names)
  SENSITIVE = []
  include Aws::Structure
end

#environment_nameString

Specify the environment by name.

You must specify either this or an EnvironmentName, or both.

Returns:

  • (String)


2068
2069
2070
2071
2072
2073
2074
# File 'gems/aws-sdk-elasticbeanstalk/lib/aws-sdk-elasticbeanstalk/types.rb', line 2068

class DescribeEnvironmentHealthRequest < Struct.new(
  :environment_name,
  :environment_id,
  :attribute_names)
  SENSITIVE = []
  include Aws::Structure
end