public createSnapshot ( string $description = null ) : |
||
$description | string | optional A description of the Amazon EBS snapshot. (Up to 255 characters) |
return | Returns the SnapshotData on success |
public function createSnapshot($description = null)
{
$this->throwExceptionIfNotInitialized();
return $this->getEc2()->snapshot->create($this->volumeId, $description);
}