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 #
Information about the state of the 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:reason:LoadBalancerState'
, loadBalancerState_reason
- A description of the state.
$sel:code:LoadBalancerState'
, loadBalancerState_code
- The state code. The initial state of the load balancer is
provisioning
. After the load balancer is fully set up and ready to
route traffic, its state is active
. If load balancer is routing
traffic but does not have the resources it needs to scale, its state
isactive_impaired
. If the load balancer could not be set up, its state
is failed
.
loadBalancerState_reason :: Lens' LoadBalancerState (Maybe Text) Source #
A description of the state.
loadBalancerState_code :: Lens' LoadBalancerState (Maybe LoadBalancerStateEnum) Source #
The state code. The initial state of the load balancer is
provisioning
. After the load balancer is fully set up and ready to
route traffic, its state is active
. If load balancer is routing
traffic but does not have the resources it needs to scale, its state
isactive_impaired
. If the load balancer could not be set up, its state
is failed
.