public function exec($command, $asUser = null)
{
return $this->getSshConnection()->exec($command, $asUser);
}
public function exec() { $instance = new Instance(['Tags' => [], 'PrivateIpAddress' => '1.2.3.4']); $instance->exec(); }