amazonka-autoscaling-2.0: Amazon Auto Scaling SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.AutoScaling.Types.TrafficSourceState

Description

 
Synopsis

Documentation

data TrafficSourceState Source #

Describes the state of a traffic source.

See: newTrafficSourceState smart constructor.

Constructors

TrafficSourceState' 

Fields

  • state :: Maybe Text

    The following are the possible states for a VPC Lattice target group:

    • Adding - The Auto Scaling instances are being registered with the target group.
    • Added - All Auto Scaling instances are registered with the target group.
    • InService - At least one Auto Scaling instance passed the VPC_LATTICE health check.
    • Removing - The Auto Scaling instances are being deregistered from the target group. If connection draining is enabled, VPC Lattice waits for in-flight requests to complete before deregistering the instances.
    • Removed - All Auto Scaling instances are deregistered from the target group.
  • trafficSource :: Maybe Text

    The unique identifier of the traffic source. Currently, this is the Amazon Resource Name (ARN) for a VPC Lattice target group.

Instances

Instances details
FromXML TrafficSourceState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.TrafficSourceState

Generic TrafficSourceState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.TrafficSourceState

Associated Types

type Rep TrafficSourceState :: Type -> Type #

Read TrafficSourceState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.TrafficSourceState

Show TrafficSourceState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.TrafficSourceState

NFData TrafficSourceState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.TrafficSourceState

Methods

rnf :: TrafficSourceState -> () #

Eq TrafficSourceState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.TrafficSourceState

Hashable TrafficSourceState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.TrafficSourceState

type Rep TrafficSourceState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.TrafficSourceState

type Rep TrafficSourceState = D1 ('MetaData "TrafficSourceState" "Amazonka.AutoScaling.Types.TrafficSourceState" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'False) (C1 ('MetaCons "TrafficSourceState'" 'PrefixI 'True) (S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "trafficSource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newTrafficSourceState :: TrafficSourceState Source #

Create a value of TrafficSourceState 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:TrafficSourceState', trafficSourceState_state - The following are the possible states for a VPC Lattice target group:

  • Adding - The Auto Scaling instances are being registered with the target group.
  • Added - All Auto Scaling instances are registered with the target group.
  • InService - At least one Auto Scaling instance passed the VPC_LATTICE health check.
  • Removing - The Auto Scaling instances are being deregistered from the target group. If connection draining is enabled, VPC Lattice waits for in-flight requests to complete before deregistering the instances.
  • Removed - All Auto Scaling instances are deregistered from the target group.

$sel:trafficSource:TrafficSourceState', trafficSourceState_trafficSource - The unique identifier of the traffic source. Currently, this is the Amazon Resource Name (ARN) for a VPC Lattice target group.

trafficSourceState_state :: Lens' TrafficSourceState (Maybe Text) Source #

The following are the possible states for a VPC Lattice target group:

  • Adding - The Auto Scaling instances are being registered with the target group.
  • Added - All Auto Scaling instances are registered with the target group.
  • InService - At least one Auto Scaling instance passed the VPC_LATTICE health check.
  • Removing - The Auto Scaling instances are being deregistered from the target group. If connection draining is enabled, VPC Lattice waits for in-flight requests to complete before deregistering the instances.
  • Removed - All Auto Scaling instances are deregistered from the target group.

trafficSourceState_trafficSource :: Lens' TrafficSourceState (Maybe Text) Source #

The unique identifier of the traffic source. Currently, this is the Amazon Resource Name (ARN) for a VPC Lattice target group.