libZSservicesZSamazonka-elbZSamazonka-elb
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.ELB.Types.ConnectionDraining

Description

 
Synopsis

Documentation

data ConnectionDraining Source #

Information about the ConnectionDraining attribute.

See: newConnectionDraining smart constructor.

Constructors

ConnectionDraining' 

Fields

  • timeout :: Maybe Int

    The maximum time, in seconds, to keep the existing connections open before deregistering the instances.

  • enabled :: Bool

    Specifies whether connection draining is enabled for the load balancer.

Instances

Instances details
Eq ConnectionDraining Source # 
Instance details

Defined in Amazonka.ELB.Types.ConnectionDraining

Read ConnectionDraining Source # 
Instance details

Defined in Amazonka.ELB.Types.ConnectionDraining

Show ConnectionDraining Source # 
Instance details

Defined in Amazonka.ELB.Types.ConnectionDraining

Generic ConnectionDraining Source # 
Instance details

Defined in Amazonka.ELB.Types.ConnectionDraining

Associated Types

type Rep ConnectionDraining :: Type -> Type #

NFData ConnectionDraining Source # 
Instance details

Defined in Amazonka.ELB.Types.ConnectionDraining

Methods

rnf :: ConnectionDraining -> () #

Hashable ConnectionDraining Source # 
Instance details

Defined in Amazonka.ELB.Types.ConnectionDraining

ToQuery ConnectionDraining Source # 
Instance details

Defined in Amazonka.ELB.Types.ConnectionDraining

FromXML ConnectionDraining Source # 
Instance details

Defined in Amazonka.ELB.Types.ConnectionDraining

type Rep ConnectionDraining Source # 
Instance details

Defined in Amazonka.ELB.Types.ConnectionDraining

type Rep ConnectionDraining = D1 ('MetaData "ConnectionDraining" "Amazonka.ELB.Types.ConnectionDraining" "libZSservicesZSamazonka-elbZSamazonka-elb" 'False) (C1 ('MetaCons "ConnectionDraining'" 'PrefixI 'True) (S1 ('MetaSel ('Just "timeout") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "enabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool)))

newConnectionDraining Source #

Create a value of ConnectionDraining 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:timeout:ConnectionDraining', connectionDraining_timeout - The maximum time, in seconds, to keep the existing connections open before deregistering the instances.

$sel:enabled:ConnectionDraining', connectionDraining_enabled - Specifies whether connection draining is enabled for the load balancer.

connectionDraining_timeout :: Lens' ConnectionDraining (Maybe Int) Source #

The maximum time, in seconds, to keep the existing connections open before deregistering the instances.

connectionDraining_enabled :: Lens' ConnectionDraining Bool Source #

Specifies whether connection draining is enabled for the load balancer.