Skip to content
v2.275.0

EbsDeviceVolumeType Enum ​

Supported EBS volume types for blockDevices.

Example ​

ts
declare const vpc: ec2.Vpc;
declare const instanceType: ec2.InstanceType;
declare const machineImage: ec2.IMachineImage;

const autoScalingGroup = new autoscaling.AutoScalingGroup(this, 'ASG', {
  vpc,
  instanceType,
  machineImage,
  blockDevices: [
    {
        deviceName: 'gp3-volume',
        volume: autoscaling.BlockDeviceVolume.ebs(15, {
          volumeType: autoscaling.EbsDeviceVolumeType.GP3,
          throughput: 125,
        }),
      },
  ],
  // ...
});

Members ​

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

Referenced by ​