Lincoln D. Stein > VM-EC2 > VM::EC2::ELB::HealthCheck

Download:
VM-EC2-1.25.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  3
Open  1
View/Report Bugs
Source  

NAME ^

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

SYNOPSIS ^

  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;

DESCRIPTION ^

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.

METHODS ^

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

STRING OVERLOADING ^

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

SEE ALSO ^

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

AUTHOR ^

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.

syntax highlighting: