'Return the definition of the given resource.'

def resource_definition(self, resource_name):

    if (self._resource_defns is None):
        self._load_rsrc_defns()
    return self._resource_defns[resource_name]
