class AWS::ELB::LoadBalancer

def configure_health_check options = {}

Options Hash: (**options)
  • :target (String) -- Specifies the instance being checked.
  • :timeout (Integer) -- Specifies the amount of time, in
  • :interval (Integer) -- Specifies the approximate
  • :unhealthy_threshold (Integer) -- Specifies the number
  • :healthy_threshold (Integer) -- Specifies the number of

Parameters:
  • options (Hash) --
def configure_health_check options = {}
  new_config = health_check_configuration.merge(options)
  response = client.configure_health_check(
    :load_balancer_name => name,
    :health_check => new_config)
  new_config
end