LoadBalancerState class

Describes the state of a Classic Load Balancer.

If you specify a load balancer when creating the Auto Scaling group, the state of the load balancer is InService.

If you attach a load balancer to an existing Auto Scaling group, the initial state is Adding. The state transitions to Added after all instances in the group are registered with the load balancer. If Elastic Load Balancing health checks are enabled for the load balancer, the state transitions to InService after at least one instance in the group passes the health check. If EC2 health checks are enabled instead, the load balancer remains in the Added state.

Constructors

LoadBalancerState({String? loadBalancerName, String? state})
LoadBalancerState.fromXml(XmlElement elem)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
loadBalancerName String?
The name of the load balancer.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state String?
One of the following load balancer states:
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited