I have made jump cords like that - always build them overrated for the highest current expected. If it's a 30 amp circuit, your wiring for your jump cord should handle at least that. Buying one premade -Reputable company (Schnieder, or the like), no prob. Unreliable company (People's Glorious Revolutionary Flower Pole Company of Electrical Guandong, Ltd.?) nope. Thats why I make my own. And I also check them occasionally to make sure they're in one piece, not getting warm, etc.
Your circuit is rated for 30 amps at 250 volts No problem with putting a 20 amp device on a 30 amp circuit, the only issue is if that device internally shorts, but if it does that you're likely going to have it try to pull more than 30 amps.
I'm also **** about wire sizing - if a circuit calls for #6, I'll up it to a #4, just because. (Other's, like Wylie and others on this here forum are more expert at electrical than I, If they say something take it to the bank, I only know what I personally would trust or not...) I refer to my Ugly's a lot to make sure I'm erring on the side of safety.