'Return a string representation of the resource definition.'

def __repr__(self):

    def arg_repr(arg_name):
        return '='.join([arg_name, repr(getattr(self, ('_%s' % arg_name)))])
    args = ('properties', 'metadata', 'depends', 'deletion_policy', 'update_policy', 'condition')
    data = {'classname': type(self).__name__, 'name': repr(self.name), 'type': repr(self.resource_type), 'args': ',    '.join((arg_repr(n) for n in args))}
    return ('%(classname)s(%(name)s,    %(type)s,    %(args)s)' % data)
