DOKK / manpages / debian 11 / libvm-ec2-perl / VM::EC2::ELB::HealthCheck.3pm.en
VM::EC2::ELB::HealthCheck(3pm) User Contributed Perl Documentation VM::EC2::ELB::HealthCheck(3pm)

VM::EC2::ELB:HealthCheck - Load Balancer Health Check Parameters

  use VM::EC2;
  $lb = $ec2->describe_load_balancers('my-lb');
  my $hc                   = $lb->HealthCheck;
  my $interval             = $hc->Interval;
  my $target               = $hc->Target;
  my $healthy_threshold    = $hc->HealthyThreshold;
  my $unhealthy_threshold  = $hc->UnhealthyThreshold;
  my $timeout              = $hc->Timeout;

This object is used to describe the parameters used to perform healthchecks on a load balancer. Generally you will not call this directly, as all its methods are passed through by the VM::EC2::ELB object returned from the HealthCheck() call.

The following object methods are supported:

 Interval           -- The time interval between health checks
 Target             -- The target protocol protocol and port of the check
 HealthyThreshold   -- The number of successive positive health checks that 
                       need to be completed to be marked as healthy
 UnhealthyThreshold -- The number of successive negative health checks that
                       need to be completed to be marked as unhealthy
 Timeout            -- The time interval of what is considered a timeout

When used in a string context, this object will interpolate object parameters as a series of Key:Value strings

VM::EC2 VM::EC2::Generic VM::EC2::Snapshot VM::EC2::ELB

Lance Kinley <lkinley@loyaltymethods.com>.

Copyright (c) 2012 Loyalty Methods, Inc.

This package and its accompanying libraries is free software; you can redistribute it and/or modify it under the terms of the GPL (either version 1, or at your option, any later version) or the Artistic License 2.0. Refer to LICENSE for the full license text. In addition, please see DISCLAIMER.txt for disclaimers of warranty.

2016-06-04 perl v5.22.2