The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Paws::ELB::InstanceState

USAGE

This class represents one of two things:

Arguments in a call to a service

Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.

As an example, if Att1 is expected to be a Paws::ELB::InstanceState object:

  $service_obj->Method(Att1 => { Description => $value, ..., State => $value  });

Results returned from an API call

Use accessors for each attribute. If Att1 is expected to be an Paws::ELB::InstanceState object:

  $result = $service_obj->Method(...);
  $result->Att1->Description

DESCRIPTION

Information about the state of an EC2 instance.

ATTRIBUTES

Description => Str

  A description of the instance state. This string can contain one or
more of the following messages.
  • N/A

  • A transient error occurred. Please try again later.

  • Instance has failed at least the UnhealthyThreshold number of health checks consecutively.

  • Instance has not passed the configured HealthyThreshold number of health checks consecutively.

  • Instance registration is still in progress.

  • Instance is in the EC2 Availability Zone for which LoadBalancer is not configured to route traffic to.

  • Instance is not currently registered with the LoadBalancer.

  • Instance deregistration currently in progress.

  • Disable Availability Zone is currently in progress.

  • Instance is in pending state.

  • Instance is in stopped state.

  • Instance is in terminated state.

InstanceId => Str

  The ID of the instance.

ReasonCode => Str

  Information about the cause of C<OutOfService> instances. Specifically,
whether the cause is Elastic Load Balancing or the instance.

Valid values: ELB | Instance | N/A

State => Str

  The current state of the instance.

Valid values: InService | OutOfService | Unknown

SEE ALSO

This class forms part of Paws, describing an object used in Paws::ELB

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues