Wait until a particular condition is satisfied. Each subcommand polls an API until the listed requirement is met.
See ‘aws help’ for descriptions of global parameters.
The following command waits until a cluster with the cluster ID
j-3SD91U2E1L2QX is up and running:
aws emr wait cluster-running --cluster-id j-3SD91U2E1L2QX