Creates an Amazon EBS volume that can be attached to an instance in the same Availability Zone. The volume is created in the specified region.
You can create a new empty volume or restore a volume from an Amazon EBS snapshot. Any AWS Marketplace product codes from the snapshot are propagated to the volume.
You can create encrypted volumes with the Encrypted parameter. Encrypted volumes may only be attached to instances that support Amazon EBS encryption. Volumes that are created from encrypted snapshots are also automatically encrypted. For more information, see Amazon EBS Encryption in the Amazon Elastic Compute Cloud User Guide .
For more information, see Creating or Restoring an Amazon EBS Volume in the Amazon Elastic Compute Cloud User Guide .
C# |
public CreateVolumeResponse CreateVolume( CreateVolumeRequest request )
- request (CreateVolumeRequest)
- Create Volume request
Exception | Condition |
---|---|
WebException | |
AmazonEC2Exception |