title: How wait for ec2 instance creation via cli?
body: <p>For example I run the following command:</p>
  
  <pre><code>aws ec2 run-instances --instance-type i3.xlarge --image-id ami-00000000 --user-data file://myfile.sh
  </code></pre>
  
  <p>This leads to instance creation start. Is there a way to execute this command and wait until EC2 is created and all status check are performed?</p>