def set_health_check(name, health_check, region=None, key=None, keyid=None, profile=None):
 conn = _get_conn(region=region, key=key, keyid=keyid, profile=profile)
 hc = HealthCheck(**health_check)
 try:
  conn.configure_health_check(name, hc)
  log.info('Configured health check on ELB {0}'.format(name))
 except boto.exception.BotoServerError as error:
  log.debug(error)
  log.info('Failed to configure health check on ELB {0}: {1}'.format(name, error))
  return False
 return True

def set_health_check ( name , health_check , region = None , key = None , keyid = None , profile = None ) : conn = _get_conn ( region = region , key = key , keyid = keyid , profile = profile ) hc = HealthCheck ( ** health_check ) try : conn . configure_health_check ( name , hc ) log . info ( 'Configured health check on ELB {0}' . format ( name ) ) except boto . exception . BotoServerError as error : log . debug ( error ) log . info ( 'Failed to configure health check on ELB {0}: {1}' . format ( name , error ) ) return False return True
set attributes on an elb .