Support 'Condition' attribute on a resource