ECS / Waiter / DaemonActive

DaemonActive

class ECS.Waiter.DaemonActive
waiter = client.get_waiter('daemon_active')
wait(**kwargs)

Polls ECS.Client.describe_daemon() every 15 seconds until a successful state is reached. An error is raised after 8 failed checks.

See also: AWS API Documentation

Request Syntax

waiter.wait(
    daemonArn='string',
    WaiterConfig={
        'Delay': 123,
        'MaxAttempts': 123
    }
)
Parameters:
  • daemonArn (string) –

    [REQUIRED]

    The Amazon Resource Name (ARN) of the daemon to describe.

  • 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: 8

Returns:

None