Skip to content
v2.273.0

EbsDeviceVolumeType Enum ​

Supported EBS volume types for blockDevices.

Example ​

ts
const imageRecipe = new imagebuilder.ImageRecipe(this, 'BlockDeviceImageRecipe', {
  baseImage: imagebuilder.BaseImage.fromSsmParameterName(
    '/aws/service/ami-amazon-linux-latest/al2023-ami-minimal-kernel-default-x86_64'
  ),
  blockDevices: [
    {
      deviceName: '/dev/sda1',
      volume: ec2.BlockDeviceVolume.ebs(100, {
        encrypted: true,
        volumeType: ec2.EbsDeviceVolumeType.GENERAL_PURPOSE_SSD_GP3
      })
    }
  ]
});

Members ​

MemberDescription
STANDARDMagnetic.
IO1Provisioned IOPS SSD - IO1.
IO2Provisioned IOPS SSD - IO2.
GP2General Purpose SSD - GP2.
GP3General Purpose SSD - GP3.
ST1Throughput Optimized HDD.
SC1Cold HDD.

Referenced by ​