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.121.0 (build d7af9b9)", date="2025-12-18T18:20:09.180Z") @Stability(Stable) public interface EbsDeviceOptions extends software.amazon.jsii.JsiiSerializable, EbsDeviceOptionsBase
Block device options for an EBS volume.

Example:

 ImageRecipe imageRecipe = ImageRecipe.Builder.create(this, "BlockDeviceImageRecipe")
         .baseImage(BaseImage.fromSsmParameterName("/aws/service/ami-amazon-linux-latest/al2023-ami-minimal-kernel-default-x86_64"))
         .blockDevices(List.of(BlockDevice.builder()
                 .deviceName("/dev/sda1")
                 .volume(BlockDeviceVolume.ebs(100, EbsDeviceOptions.builder()
                         .encrypted(true)
                         .volumeType(EbsDeviceVolumeType.GENERAL_PURPOSE_SSD_GP3)
                         .build()))
                 .build()))
         .build();