TargetGroupTargetFailover constructor
const
TargetGroupTargetFailover({})
Creates a new TargetGroupTargetFailover.
onDeregistration Indicates how the GWLB handles existing flows when a target is deregistered. Possible values are rebalance and noRebalance. Must match the attribute value set for onUnhealthy. Default: noRebalance.
onUnhealthy Indicates how the GWLB handles existing flows when a target is unhealthy. Possible values are rebalance and noRebalance. Must match the attribute value set for onDeregistration. Default: noRebalance.
Implementation
const TargetGroupTargetFailover({
required this.onDeregistration,
required this.onUnhealthy,
});