Note: You are viewing the documentation for an older major version of the AWS CLI (version 1).
AWS CLI version 2, the latest major version of AWS CLI, is now stable and recommended for general use. To view this page for the AWS CLI version 2, click here. For more information see the AWS CLI version 2 installation instructions and migration guide.
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.
To wait for a cluster to become active
This example command waits for a cluster named example
to become active.
Command:
aws eks wait cluster-active --name example
To wait for a cluster to be deleted
This example command waits for a cluster named example
to be deleted.
Command:
aws eks wait cluster-deleted --name example