Calculate bond portfolio duration with CDS

I’m not sure if i should use notional amount or market value for CDS when calculating its contribution to portfolio duration. Any thoughts? Thanks a lot!