@classmethod
def register_resources(klass, registry, resource_class):
    """model resource subscriber on resource registration.

        Watch for new resource types being registered if they are
        supported by aws config, automatically, register the
        config-compliance filter.
        """
    if resource_class.resource_type.config_type is None:
        return
    resource_class.filter_registry.register('config-compliance', klass)
