computing / Waiter / LoadBalancerInService
LoadBalancerInService
- class computing.Waiter.LoadBalancerInService
waiter = client.get_waiter('load_balancer_in_service')
- wait(**kwargs)
Polls
computing.Client.describe_load_balancers()
every 20 seconds until a successful state is reached. An error is returned after 40 failed checks.See also: AWS API Documentation
Request Syntax
waiter.wait( LoadBalancerNames=[ { 'InstancePort': 123, 'LoadBalancerName': 'string', 'LoadBalancerPort': 123 }, ], Owner='self'|'other'|'all', WaiterConfig={ 'Delay': 123, 'MaxAttempts': 123 } )
- Parameters:
LoadBalancerNames (list) –
(dict) –
InstancePort (integer) –
LoadBalancerName (string) –
LoadBalancerPort (integer) –
Owner (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: 20
MaxAttempts (integer) –
The maximum number of attempts to be made. Default: 40
- Returns:
None