Class: AmazonElasticBlockStoreBlockDeviceProperty

Types~AmazonElasticBlockStoreBlockDeviceProperty

new AmazonElasticBlockStoreBlockDeviceProperty()

Properties:
Name Type Description
DeleteOnTermination Boolean Required: No. Determines whether to delete the volume on instance termination. The default value is true.
Encrypted Boolean Required: No. Indicates whether the volume is encrypted. Encrypted Amazon EBS volumes can only be attached to instance types that support Amazon EBS encryption. Volumes that are created from encrypted snapshots are automatically encrypted. You cannot create an encrypted volume from an unencrypted snapshot or vice versa. If your AMI uses encrypted volumes, you can only launch the AMI on supported instance types. For more information, see Amazon EBS encryption in the Amazon EC2 User Guide for Linux Instances.
Iops Number Required: Conditional. The number of I/O operations per second (IOPS) that the volume supports. This can be an integer from 100 – 2000.
SnapshotId String Required: Conditional. The snapshot ID of the volume to use to create a block device.
VolumeSize String Required: Conditional. The volume size, in gibibytes (GiB). This can be a number from 1 – 1024. If the volume type is io1, the minimum value is 10.Update requires: Some interruptions
VolumeType String Required: No. The volume type. If you set the type to io1, you must also set the Iops property. For valid values, see the VolumeType parameter for the CreateVolume action in the Amazon EC2 API Reference.
Source: