Skip to content

Commit

Permalink
Merge pull request #6167 from godd9170/patch-1
Browse files Browse the repository at this point in the history
Update wait service-stable example
  • Loading branch information
tim-finnigan authored Jul 2, 2024
2 parents 3b2a8d1 + 790dbe0 commit 1dd1d39
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
10 changes: 1 addition & 9 deletions awscli/examples/ecs/wait/services-stable.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,4 @@ The following ``wait`` example pauses and continues only after it can confirm th

aws ecs wait services-stable \
--cluster MyCluster \
--services MyService

**Example 2: To pause running until a task is confirmed to be running**

The following ``wait`` example pauses and continues only after the specified task enters a ``RUNNING`` state. ::

aws ecs wait services-stable \
--cluster MyCluster \
--tasks arn:aws:ecs:us-west-2:123456789012:task/a1b2c3d4-5678-90ab-cdef-44444EXAMPLE
--services MyService
7 changes: 7 additions & 0 deletions awscli/examples/ecs/wait/tasks-running.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
**Example 1: To pause running until a task is confirmed to be running**

The following ``wait`` example pauses and continues only after the specified task enters a ``RUNNING`` state. ::

aws ecs wait tasks-running \
--cluster MyCluster \
--tasks arn:aws:ecs:us-west-2:123456789012:task/a1b2c3d4-5678-90ab-cdef-44444EXAMPLE

0 comments on commit 1dd1d39

Please sign in to comment.