Voucher for subscribe and save only


How is possible to create a voucher only for subscribe and save?
I saw in some listings in grocery that customer can claim a 10% coupon only if he choose subscribe and save.
When you choose one-time purchase, under the coupon says " Coupon available for the Subscribe & Save purchase option only.