| 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.ELBV2.Types.LoadBalancerState
Description
Documentation
data LoadBalancerState Source #
Information about the state of the 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: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.
$sel:reason:LoadBalancerState', loadBalancerState_reason - 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.
loadBalancerState_reason :: Lens' LoadBalancerState (Maybe Text) Source #
A description of the state.