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.
dataset/ETHPy150Open saltstack/salt/salt/modules/boto_elb.py/set_health_check