AWS SDK for .NET Documentation
CreateVolume Method (request)
AmazonAmazon.EC2AmazonEC2ClientCreateVolume(CreateVolumeRequest) Did this page help you?   Yes   No    Tell us about it...

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 .

Declaration Syntax
C#
public CreateVolumeResponse CreateVolume(
	CreateVolumeRequest request
)
Parameters
request (CreateVolumeRequest)
Create Volume request
Return Value
Create Volume Response from the service
Exceptions

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)