ServicesStable

class ECS.Waiter.ServicesStable
waiter = client.get_waiter('services_stable')
wait(**kwargs)

Polls ECS.Client.describe_services() every 15 seconds until a successful state is reached. An error is returned after 40 failed checks.

See also: AWS API Documentation

Request Syntax

waiter.wait(
    cluster='string',
    services=[
        'string',
    ],
    include=[
        'TAGS',
    ],
    WaiterConfig={
        'Delay': 123,
        'MaxAttempts': 123
    }
)
Parameters
  • cluster (string) -- The short name or full Amazon Resource Name (ARN)the cluster that hosts the service to describe. If you do not specify a cluster, the default cluster is assumed. This parameter is required if the service or services you are describing were launched in any cluster other than the default cluster.
  • services (list) --

    [REQUIRED]

    A list of services to describe. You may specify up to 10 services to describe in a single operation.

    • (string) --
  • include (list) --

    Determines whether you want to see the resource tags for the service. If TAGS is specified, the tags are included in the response. If this field is omitted, tags aren't included in the response.

    • (string) --
  • WaiterConfig (dict) --

    A dictionary that provides parameters to control waiting behavior.

    • Delay (integer) --

      The amount of time in seconds to wait between attempts. Default: 15

    • MaxAttempts (integer) --

      The maximum number of attempts to be made. Default: 40

Returns

None