aws-cdk-lib.aws_autoscaling.EbsDeviceVolumeType

enum EbsDeviceVolumeType

LanguageType name
.NETAmazon.CDK.AWS.AutoScaling.EbsDeviceVolumeType
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsautoscaling#EbsDeviceVolumeType
Javasoftware.amazon.awscdk.services.autoscaling.EbsDeviceVolumeType
Pythonaws_cdk.aws_autoscaling.EbsDeviceVolumeType
TypeScript (source)aws-cdk-lib » aws_autoscaling » EbsDeviceVolumeType

Supported EBS volume types for blockDevices.

Example

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

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

STANDARD

Magnetic.


IO1

Provisioned IOPS SSD - IO1.


GP2

General Purpose SSD - GP2.


GP3

General Purpose SSD - GP3.


ST1

Throughput Optimized HDD.


SC1

Cold HDD.