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
| Member | Description |
|---|---|
STANDARD | Magnetic. |
IO1 | Provisioned IOPS SSD - IO1. |
GP2 | General Purpose SSD - GP2. |
GP3 | General Purpose SSD - GP3. |
ST1 | Throughput Optimized HDD. |
SC1 | Cold HDD. |
Referenced by
EbsDeviceOptionsBase.volumeTypevolume_typevolumeTypeVolumeTypeVolumeType