AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

DescribeEnvironmentHealthOutput

import "github.com/aws/aws-sdk-go/service/elasticbeanstalk"

type DescribeEnvironmentHealthOutput struct { ApplicationMetrics *ApplicationMetrics `type:"structure"` Causes []*string `type:"list"` Color *string `type:"string"` EnvironmentName *string `min:"4" type:"string"` HealthStatus *string `type:"string"` InstancesHealth *InstanceHealthSummary `type:"structure"` RefreshedAt *time.Time `type:"timestamp"` Status *string `type:"string" enum:"EnvironmentHealth"` }

Health details for an AWS Elastic Beanstalk environment.

ApplicationMetrics

Application request metrics for an AWS Elastic Beanstalk environment.

Causes

Type: []*string

Descriptions of the data that contributed to the environment's current health status.

Color

Type: *string

The health color (https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/health-enhanced-status.html) of the environment.

EnvironmentName

Type: *string

The environment's name.

HealthStatus

Type: *string

The health status (https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/health-enhanced-status.html) of the environment. For example, Ok.

InstancesHealth

Represents summary information about the health of an instance. For more information, see Health Colors and Statuses (https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/health-enhanced-status.html).

RefreshedAt

Type: *time.Time

The date and time that the health information was retrieved.

Status

Type: *string

The environment's operational status. Ready, Launching, Updating, Terminating, or Terminated.

Method

GoString

func (s DescribeEnvironmentHealthOutput) GoString() string

GoString returns the string representation

SetApplicationMetrics

func (s *DescribeEnvironmentHealthOutput) SetApplicationMetrics(v *ApplicationMetrics) *DescribeEnvironmentHealthOutput

SetApplicationMetrics sets the ApplicationMetrics field's value.

SetCauses

func (s *DescribeEnvironmentHealthOutput) SetCauses(v []*string) *DescribeEnvironmentHealthOutput

SetCauses sets the Causes field's value.

SetColor

func (s *DescribeEnvironmentHealthOutput) SetColor(v string) *DescribeEnvironmentHealthOutput

SetColor sets the Color field's value.

SetEnvironmentName

func (s *DescribeEnvironmentHealthOutput) SetEnvironmentName(v string) *DescribeEnvironmentHealthOutput

SetEnvironmentName sets the EnvironmentName field's value.

SetHealthStatus

func (s *DescribeEnvironmentHealthOutput) SetHealthStatus(v string) *DescribeEnvironmentHealthOutput

SetHealthStatus sets the HealthStatus field's value.

SetInstancesHealth

func (s *DescribeEnvironmentHealthOutput) SetInstancesHealth(v *InstanceHealthSummary) *DescribeEnvironmentHealthOutput

SetInstancesHealth sets the InstancesHealth field's value.

SetRefreshedAt

func (s *DescribeEnvironmentHealthOutput) SetRefreshedAt(v time.Time) *DescribeEnvironmentHealthOutput

SetRefreshedAt sets the RefreshedAt field's value.

SetStatus

func (s *DescribeEnvironmentHealthOutput) SetStatus(v string) *DescribeEnvironmentHealthOutput

SetStatus sets the Status field's value.

String

func (s DescribeEnvironmentHealthOutput) String() string

String returns the string representation

On this page: