As an example where this does hold, for $\omega$ a Kähler metric of constant scalar curvature with $\pi c_1(M) = \lambda [\omega]$, then $\omega$ is KaehlerKähler-Einstein. This is Proposition 2.12 in Tian's "Canonical metrics in KaehlerKähler Geometry".