Enum EbsDeviceVolumeType
- All Implemented Interfaces:
Serializable
,Comparable<EbsDeviceVolumeType>
,java.lang.constant.Constable
@Generated(value="jsii-pacmak/1.106.0 (build e852934)",
date="2025-02-17T19:20:23.838Z")
@Stability(Stable)
public enum EbsDeviceVolumeType
extends Enum<EbsDeviceVolumeType>
Supported EBS volume types for blockDevices.
Example:
Vpc vpc; InstanceType instanceType; IMachineImage machineImage; AutoScalingGroup autoScalingGroup = AutoScalingGroup.Builder.create(this, "ASG") .vpc(vpc) .instanceType(instanceType) .machineImage(machineImage) .blockDevices(List.of(BlockDevice.builder() .deviceName("gp3-volume") .volume(BlockDeviceVolume.ebs(15, EbsDeviceOptions.builder() .volumeType(EbsDeviceVolumeType.GP3) .throughput(125) .build())) .build())) .build();
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic EbsDeviceVolumeType
Returns the enum constant of this type with the specified name.static EbsDeviceVolumeType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
STANDARD
Magnetic. -
IO1
Provisioned IOPS SSD - IO1. -
GP2
General Purpose SSD - GP2. -
GP3
General Purpose SSD - GP3. -
ST1
Throughput Optimized HDD. -
SC1
Cold HDD.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-