def _get_filters(conf):
    """Get and construct AWS Tag Filters

    Args:
        conf (dict): yaml dict with tag configuraiton

    Returns:
        list: list of filters for AWS API consumption
    """

    filters = []

    tags = conf.get('tags')
    if tags:
        for tag in tags:
            filters.append(
                {
                    'Name': f'''tag:{tag['key']}''',
                    'Values': [
                        tag['value']
                    ]
                }
            )

    return filters