exitStandby
inline suspend fun AutoScalingClient.exitStandby(crossinline block: ExitStandbyRequest.Builder.() -> Unit): ExitStandbyResponse
Moves the specified instances out of the standby state.
After you put the instances back in service, the desired capacity is incremented.
For more information, see Temporarily removing instances from your Auto Scaling group in the Amazon EC2 Auto Scaling User Guide.
Samples
fun main() {
//sampleStart
// This example moves the specified instance out of standby mode.
val resp = autoScalingClient.exitStandby {
instanceIds = listOf<String>(
"i-93633f9b"
)
autoScalingGroupName = "my-auto-scaling-group"
}
//sampleEnd
}