restartAppServer
abstract suspend fun restartAppServer(input: RestartAppServerRequest = RestartAppServerRequest { }): RestartAppServerResponse
Causes the environment to restart the application container server running on each Amazon EC2 instance.
Samples
fun main() {
//sampleStart
// The following operation restarts application servers on all instances in an environment named my env
elasticBeanstalkClient.restartAppServer {
environmentName = "my-env"
}
//sampleEnd
}