def _present_config_results(config_records, resource_ids):
    """ 
    If resource_id is in config_records add to dictionary and return dictionary
    
    :param config_records: config compliance records
    :param resource_ids: list of resource ids
    :returns: dictionary of resource_id: compliance_type
    """
    found_records = {}
    for config_records in config_records:
        config_record_id = config_records['EvaluationResultIdentifier'][
            'EvaluationResultQualifier']['ResourceId']

        if config_record_id in resource_ids:
            found_records[config_record_id] = config_records["ComplianceType"]
    return found_records