title: configure aws ec2 wait timeout option
body: <p>Is there an option or a setting somewhere to control the timeout for an <code>aws ec2 wait</code> command?
    Or the number of attempts or waiting period between attempts?</p>
  
  <p>I want to be able to <code>aws ec2 wait instance-terminated</code> for some instances I'm quickly spinning up to perform a few task then terminating.  It times out on some longer running tasks with "Waiter InstanceTerminated failed: Max attempts exceeded".</p>
  
  <p>I can't seem to find any info anywhere. I've grepped the cli source code, but my knowledge of Python is too limited for me to understand what's going on.  I see there might be something in <a href="https://github.com/aws/aws-cli/blob/develop/tests/unit/customizations/test_waiters.py#L112" rel="nofollow">this test</a> using maxAttempts and delay, but can't figure out how to leverage that from the cli.</p>
  
  <p>So far my suboptimal solution is to sleep first, then start the wait.</p>