enum EbsDeviceVolumeType
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.AutoScaling.EbsDeviceVolumeType |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsautoscaling#EbsDeviceVolumeType |
Java | software.amazon.awscdk.services.autoscaling.EbsDeviceVolumeType |
Python | aws_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
Name | 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. |
STANDARD
Magnetic.
IO1
Provisioned IOPS SSD - IO1.
GP2
General Purpose SSD - GP2.
GP3
General Purpose SSD - GP3.
ST1
Throughput Optimized HDD.
SC1
Cold HDD.