libZSservicesZSamazonka-securityhubZSamazonka-securityhub
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.SecurityHub.Types.LoadBalancerState

Description

 
Synopsis

Documentation

data LoadBalancerState Source #

Information about the state of the load balancer.

See: newLoadBalancerState smart constructor.

Constructors

LoadBalancerState' 

Fields

  • reason :: Maybe Text

    A description of the state.

  • code :: Maybe Text

    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 the load balancer could not be set up, its state is failed.

Instances

Instances details
Eq LoadBalancerState Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.LoadBalancerState

Read LoadBalancerState Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.LoadBalancerState

Show LoadBalancerState Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.LoadBalancerState

Generic LoadBalancerState Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.LoadBalancerState

Associated Types

type Rep LoadBalancerState :: Type -> Type #

NFData LoadBalancerState Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.LoadBalancerState

Methods

rnf :: LoadBalancerState -> () #

Hashable LoadBalancerState Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.LoadBalancerState

ToJSON LoadBalancerState Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.LoadBalancerState

FromJSON LoadBalancerState Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.LoadBalancerState

type Rep LoadBalancerState Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.LoadBalancerState

type Rep LoadBalancerState = D1 ('MetaData "LoadBalancerState" "Amazonka.SecurityHub.Types.LoadBalancerState" "libZSservicesZSamazonka-securityhubZSamazonka-securityhub" 'False) (C1 ('MetaCons "LoadBalancerState'" 'PrefixI 'True) (S1 ('MetaSel ('Just "reason") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "code") '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: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 the load balancer could not be set up, its state is failed.

loadBalancerState_code :: Lens' LoadBalancerState (Maybe Text) 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 the load balancer could not be set up, its state is failed.