Interface EbsDeviceOptions

All Superinterfaces:
EbsDeviceOptionsBase, software.amazon.jsii.JsiiSerializable
All Known Subinterfaces:
EbsDeviceProps
All Known Implementing Classes:
EbsDeviceOptions.Jsii$Proxy, EbsDeviceProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)", date="2024-10-11T15:55:56.887Z") @Stability(Stable) public interface EbsDeviceOptions extends software.amazon.jsii.JsiiSerializable, EbsDeviceOptionsBase
Block device options for an EBS volume.

Example:

 Vpc vpc;
 InstanceType instanceType;
 IMachineImage machineImage;
 Instance.Builder.create(this, "Instance")
         .vpc(vpc)
         .instanceType(instanceType)
         .machineImage(machineImage)
         // ...
         .blockDevices(List.of(BlockDevice.builder()
                 .deviceName("/dev/sda1")
                 .volume(BlockDeviceVolume.ebs(100, EbsDeviceOptions.builder()
                         .volumeType(EbsDeviceVolumeType.GP3)
                         .throughput(250)
                         .build()))
                 .build()))
         .build();