'Gets detailed information for a resource.'

@util.identified_stack
def show(self, req, identity, resource_name):

    whitelist = {'with_attr': util.PARAM_TYPE_MULTI}
    params = util.get_allowed_params(req.params, whitelist)
    if ('with_attr' not in params):
        params['with_attr'] = None
    res = self.rpc_client.describe_stack_resource(req.context, identity, resource_name, **params)
    return {'resource': format_resource(req, res)}
