ElasticLoadBalancing.Waiter.AnyInstanceInService¶waiter = client.get_waiter('any_instance_in_service')
wait(**kwargs)¶Polls ElasticLoadBalancing.Client.describe_instance_health() 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(
    LoadBalancerName='string',
    Instances=[
        {
            'InstanceId': 'string'
        },
    ],
    WaiterConfig={
        'Delay': 123,
        'MaxAttempts': 123
    }
)
[REQUIRED]
The name of the load balancer.
The IDs of the instances.
The ID of an EC2 instance.
The instance ID.
A dictionary that provides parameters to control waiting behavior.
The amount of time in seconds to wait between attempts. Default: 15
The maximum number of attempts to be made. Default: 40
None