AwsInspector\Model\Ec2\Instance::exec PHP Method

exec() public method

public exec ( $command, $asUser = null )
    public function exec($command, $asUser = null)
    {
        return $this->getSshConnection()->exec($command, $asUser);
    }

Usage Example

Exemplo n.º 1
0
 public function exec()
 {
     $instance = new Instance(['Tags' => [], 'PrivateIpAddress' => '1.2.3.4']);
     $instance->exec();
 }