Class EbsDeviceVolumeType
Supported EBS volume types for blockDevices.
Inheritance
Namespace: Amazon.CDK.AWS.AutoScaling
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public sealed class EbsDeviceVolumeType : Enum
Syntax (vb)
Public NotInheritable Class EbsDeviceVolumeType
Inherits
Enum
Remarks
ExampleMetadata: infused
Examples
Vpc vpc;
InstanceType instanceType;
IMachineImage machineImage;
var autoScalingGroup = new AutoScalingGroup(this, "ASG", new AutoScalingGroupProps {
Vpc = vpc,
InstanceType = instanceType,
MachineImage = machineImage,
BlockDevices = new [] { new BlockDevice {
DeviceName = "gp3-volume",
Volume = BlockDeviceVolume.Ebs(15, new EbsDeviceOptions {
VolumeType = EbsDeviceVolumeType.GP3,
Throughput = 125
})
} }
});
Synopsis
Fields
GP2 | General Purpose SSD - GP2. |
GP3 | General Purpose SSD - GP3. |
IO1 | Provisioned IOPS SSD - IO1. |
SC1 | Cold HDD. |
ST1 | Throughput Optimized HDD. |
STANDARD | Magnetic. |
value__ |
Fields
GP2
General Purpose SSD - GP2.
public const EbsDeviceVolumeType GP2
Field Value
Type | Description |
---|---|
Ebs |
GP3
General Purpose SSD - GP3.
public const EbsDeviceVolumeType GP3
Field Value
Type | Description |
---|---|
Ebs |
IO1
Provisioned IOPS SSD - IO1.
public const EbsDeviceVolumeType IO1
Field Value
Type | Description |
---|---|
Ebs |
SC1
ST1
Throughput Optimized HDD.
public const EbsDeviceVolumeType ST1
Field Value
Type | Description |
---|---|
Ebs |
STANDARD
Magnetic.
public const EbsDeviceVolumeType STANDARD
Field Value
Type | Description |
---|---|
Ebs |
value__
public int value__
Field Value
Type | Description |
---|---|
System. |