Capacity of an ecosystem to respond to a perturbation or disturbance by resisting damage and recovering quickly.