| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.AutoScaling.Types.LoadBalancerState
Description
Documentation
data LoadBalancerState Source #
Describes the state of a Classic Load Balancer.
See: newLoadBalancerState smart constructor.
Constructors
| LoadBalancerState' | |
Fields
| |
Instances
newLoadBalancerState :: LoadBalancerState Source #
Create a value of LoadBalancerState with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:loadBalancerName:LoadBalancerState', loadBalancerState_loadBalancerName - The name of the load balancer.
$sel:state:LoadBalancerState', loadBalancerState_state - One of the following load balancer states:
Adding- The Auto Scaling instances are being registered with the load balancer.Added- All Auto Scaling instances are registered with the load balancer.InService- At least one Auto Scaling instance passed anELBhealth check.Removing- The Auto Scaling instances are being deregistered from the load balancer. If connection draining is enabled, Elastic Load Balancing waits for in-flight requests to complete before deregistering the instances.Removed- All Auto Scaling instances are deregistered from the load balancer.
loadBalancerState_loadBalancerName :: Lens' LoadBalancerState (Maybe Text) Source #
The name of the load balancer.
loadBalancerState_state :: Lens' LoadBalancerState (Maybe Text) Source #
One of the following load balancer states:
Adding- The Auto Scaling instances are being registered with the load balancer.Added- All Auto Scaling instances are registered with the load balancer.InService- At least one Auto Scaling instance passed anELBhealth check.Removing- The Auto Scaling instances are being deregistered from the load balancer. If connection draining is enabled, Elastic Load Balancing waits for in-flight requests to complete before deregistering the instances.Removed- All Auto Scaling instances are deregistered from the load balancer.