Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Documentation
data LoadBalancerState Source #
Describes the state of a Classic Load Balancer.
See: newLoadBalancerState
smart constructor.
LoadBalancerState' | |
|
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: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 anELB
health 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.
$sel:loadBalancerName:LoadBalancerState'
, loadBalancerState_loadBalancerName
- 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 anELB
health 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.