libZSservicesZSamazonka-autoscalingZSamazonka-autoscaling
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.AutoScaling.Types.LoadBalancerState

Description

 
Synopsis

Documentation

data LoadBalancerState Source #

Describes the state of a Classic Load Balancer.

See: newLoadBalancerState smart constructor.

Constructors

LoadBalancerState' 

Fields

  • state :: Maybe Text

    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 an ELB 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.
  • loadBalancerName :: Maybe Text

    The name of the load balancer.

Instances

Instances details
Eq LoadBalancerState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LoadBalancerState

Read LoadBalancerState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LoadBalancerState

Show LoadBalancerState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LoadBalancerState

Generic LoadBalancerState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LoadBalancerState

Associated Types

type Rep LoadBalancerState :: Type -> Type #

NFData LoadBalancerState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LoadBalancerState

Methods

rnf :: LoadBalancerState -> () #

Hashable LoadBalancerState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LoadBalancerState

FromXML LoadBalancerState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LoadBalancerState

type Rep LoadBalancerState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LoadBalancerState

type Rep LoadBalancerState = D1 ('MetaData "LoadBalancerState" "Amazonka.AutoScaling.Types.LoadBalancerState" "libZSservicesZSamazonka-autoscalingZSamazonka-autoscaling" 'False) (C1 ('MetaCons "LoadBalancerState'" 'PrefixI 'True) (S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "loadBalancerName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

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 an ELB 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 an ELB 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.