def tags_types_of_resource(resource):
    """
    return an iterable of the acceptable types for
    the Tags property on this resource.
    """
    tags_type = resource.props["Tags"][0]
    if isinstance(tags_type, tuple):
        return tags_type
    return [tags_type]