Paws::ELBv2::TargetHealth
This class represents one of two things:
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::ELBv2::TargetHealth object:
$service_obj->Method(Att1 => { Description => $value, ..., State => $value });
Use accessors for each attribute. If Att1 is expected to be an Paws::ELBv2::TargetHealth object:
$result = $service_obj->Method(...); $result->Att1->Description
Information about the current health of a target.
A description of the target health that provides additional details. If the state is healthy, a description is not provided.
healthy
The reason code.
If the target state is healthy, a reason code is not provided.
If the target state is initial, the reason code can be one of the following values:
initial
Elb.RegistrationInProgress - The target is in the process of being registered with the load balancer.
Elb.RegistrationInProgress
Elb.InitialHealthChecking - The load balancer is still sending the target the minimum number of health checks required to determine its health status.
Elb.InitialHealthChecking
If the target state is unhealthy, the reason code can be one of the following values:
unhealthy
Target.ResponseCodeMismatch - The health checks did not return an expected HTTP code. Applies only to Application Load Balancers and Gateway Load Balancers.
Target.ResponseCodeMismatch
Target.Timeout - The health check requests timed out. Applies only to Application Load Balancers and Gateway Load Balancers.
Target.Timeout
Target.FailedHealthChecks - The load balancer received an error while establishing a connection to the target or the target response was malformed.
Target.FailedHealthChecks
Elb.InternalError - The health checks failed due to an internal error. Applies only to Application Load Balancers.
Elb.InternalError
If the target state is unused, the reason code can be one of the following values:
unused
Target.NotRegistered - The target is not registered with the target group.
Target.NotRegistered
Target.NotInUse - The target group is not used by any load balancer or the target is in an Availability Zone that is not enabled for its load balancer.
Target.NotInUse
Target.InvalidState - The target is in the stopped or terminated state.
Target.InvalidState
Target.IpUnusable - The target IP address is reserved for use by a load balancer.
Target.IpUnusable
If the target state is draining, the reason code can be the following value:
draining
Target.DeregistrationInProgress - The target is in the process of being deregistered and the deregistration delay period has not expired.
Target.DeregistrationInProgress
If the target state is unavailable, the reason code can be the following value:
unavailable
Target.HealthCheckDisabled - Health checks are disabled for the target group. Applies only to Application Load Balancers.
Target.HealthCheckDisabled
Elb.InternalError - Target health is unavailable due to an internal error. Applies only to Network Load Balancers.
The state of the target.
This class forms part of Paws, describing an object used in Paws::ELBv2
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
To install Paws, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Paws
CPAN shell
perl -MCPAN -e shell install Paws
For more information on module installation, please visit the detailed CPAN module installation guide.