Scalr\Service\Aws\Ec2\DataType\VolumeData::createSnapshot PHP Method

createSnapshot() public method

Creates a snapshot of an Amazon EBS volume and stores it in Amazon S3.You can use snapshots for backups, to make copies of instance store volumes, and to save data before shutting down an instance.
public createSnapshot ( string $description = null ) : SnapshotData
$description string optional A description of the Amazon EBS snapshot. (Up to 255 characters)
return SnapshotData Returns the SnapshotData on success
    public function createSnapshot($description = null)
    {
        $this->throwExceptionIfNotInitialized();
        return $this->getEc2()->snapshot->create($this->volumeId, $description);
    }