AwsInspector\Model\Ec2\Instance::exec PHP 메소드

exec() 공개 메소드

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

Usage Example

예제 #1
0
 public function exec()
 {
     $instance = new Instance(['Tags' => [], 'PrivateIpAddress' => '1.2.3.4']);
     $instance->exec();
 }