| 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.AutoScaling.Types.TrafficSourceState
Description
Documentation
data TrafficSourceState Source #
Describes the state of a traffic source.
See: newTrafficSourceState smart constructor.
Constructors
| TrafficSourceState' | |
Fields
| |
Instances
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 theVPC_LATTICEhealth 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 theVPC_LATTICEhealth 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.