How to set temporary IP ban in one command

Hello,

i want to deny an IP 2.2.2.2 using iptables for 15 minutes.

This must be one line command, because i want to use it in mod_deflate in this variable:
DOSSystemCommand “…”

Someone used:
DOSSystemCommand “sudo /sbin/iptables -A INPUT -s %s -j DROP”

but i assume this is permanent ban untill server reboot which is too longterm ban i think, i need 15 minute ban in one command?