Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
Documentation
data WeightedTarget Source #
An object that represents a target and its relative weight. Traffic is distributed across targets according to their relative weight. For example, a weighted target with a relative weight of 50 receives five times as much traffic as one with a relative weight of 10. The total weight for all targets combined must be less than or equal to 100.
See: newWeightedTarget
smart constructor.
WeightedTarget' | |
|
Instances
Create a value of WeightedTarget
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:virtualNode:WeightedTarget'
, weightedTarget_virtualNode
- The virtual node to associate with the weighted target.
$sel:weight:WeightedTarget'
, weightedTarget_weight
- The relative weight of the weighted target.
weightedTarget_virtualNode :: Lens' WeightedTarget Text Source #
The virtual node to associate with the weighted target.
weightedTarget_weight :: Lens' WeightedTarget Natural Source #
The relative weight of the weighted target.