preferredStrategies

@JvmName(name = "gdetsbyrihwspjwn")
suspend fun preferredStrategies(value: Output<List<String>>)
@JvmName(name = "maxdmeqbvcnnuyjb")
suspend fun preferredStrategies(value: List<String>)

Parameters

value

PreferredStrategies indicates the list of strategies for picking the leader for coordinated leader election. The list is ordered, and the first strategy supersedes all other strategies. The list is used by coordinated leader election to make a decision about the final election strategy. This follows as - If all clients have strategy X as the first element in this list, strategy X will be used. - If a candidate has strategy X and another candidate has strategy Y, X, Y supersedes X and strategy Y will be used.

  • If a candidate has strategy X, Y and another candidate has strategy Y, X, this is a user error and leader election will not operate the Lease until resolved. (Alpha) Using this field requires the CoordinatedLeaderElection feature gate to be enabled.


@JvmName(name = "iywyknibmdfjlxjb")
suspend fun preferredStrategies(vararg values: Output<String>)


@JvmName(name = "hbsoljwtfpoxhyyn")
suspend fun preferredStrategies(values: List<Output<String>>)
@JvmName(name = "cocxulvymtvtihvd")
suspend fun preferredStrategies(vararg values: String)

Parameters

values

PreferredStrategies indicates the list of strategies for picking the leader for coordinated leader election. The list is ordered, and the first strategy supersedes all other strategies. The list is used by coordinated leader election to make a decision about the final election strategy. This follows as - If all clients have strategy X as the first element in this list, strategy X will be used. - If a candidate has strategy X and another candidate has strategy Y, X, Y supersedes X and strategy Y will be used.

  • If a candidate has strategy X, Y and another candidate has strategy Y, X, this is a user error and leader election will not operate the Lease until resolved. (Alpha) Using this field requires the CoordinatedLeaderElection feature gate to be enabled.