@Generated(value="jsii-pacmak/1.58.0 (build f8ba112)", date="2022-05-13T01:13:32.896Z") public enum InstanceClass extends java.lang.Enum<InstanceClass>
We have both symbolic and concrete enums for every type.
The first are for people that want to specify by purpose, the second one are for people who already know exactly what 'R4' means.
Example:
Vpc vpc; DatabaseInstance sourceInstance; DatabaseInstanceFromSnapshot.Builder.create(this, "Instance") .snapshotIdentifier("my-snapshot") .engine(DatabaseInstanceEngine.postgres(PostgresInstanceEngineProps.builder().version(PostgresEngineVersion.VER_12_3).build())) // optional, defaults to m5.large .instanceType(InstanceType.of(InstanceClass.BURSTABLE2, InstanceSize.LARGE)) .vpc(vpc) .build(); DatabaseInstanceReadReplica.Builder.create(this, "ReadReplica") .sourceDatabaseInstance(sourceInstance) .instanceType(InstanceType.of(InstanceClass.BURSTABLE2, InstanceSize.LARGE)) .vpc(vpc) .build();
Enum Constant and Description |
---|
ARM1
Arm processor based instances, 1st generation.
|
BURSTABLE2
Burstable instances, 2nd generation.
|
BURSTABLE3
Burstable instances, 3rd generation.
|
BURSTABLE3_AMD
Burstable instances based on AMD EPYC, 3rd generation.
|
BURSTABLE4_GRAVITON
Burstable instances, 4th generation with Graviton2 processors.
|
COMPUTE3
Compute optimized instances, 3rd generation.
|
COMPUTE4
Compute optimized instances, 4th generation.
|
COMPUTE5
Compute optimized instances, 5th generation.
|
COMPUTE5_AMD
Compute optimized instances based on AMD EPYC, 5th generation.
|
COMPUTE5_AMD_NVME_DRIVE
Compute optimized instances with local NVME drive based on AMD EPYC, 5th generation.
|
COMPUTE5_HIGH_PERFORMANCE
Compute optimized instances for high performance computing, 5th generation.
|
COMPUTE5_NVME_DRIVE
Compute optimized instances with local NVME drive, 5th generation.
|
COMPUTE6_AMD
Compute optimized instances based on AMD EPYC (codename Milan), 6th generation.
|
COMPUTE6_GRAVITON2
Compute optimized instances for high performance computing, 6th generation with Graviton2 processors.
|
COMPUTE6_GRAVITON2_HIGH_NETWORK_BANDWITH
Compute optimized instances for high performance computing, 6th generation with Graviton2 processors and high network bandwidth capabilities.
|
COMPUTE6_GRAVITON2_NVME_DRIVE
Compute optimized instances for high performance computing, 6th generation with Graviton2 processors and local NVME drive.
|
COMPUTE6_INTEL
Compute optimized instances, 6th generation.
|
FPGA1
Instances with customizable hardware acceleration, 1st generation.
|
GRAPHICS3
Graphics-optimized instances, 3rd generation.
|
GRAPHICS4_AMD_NVME_DRIVE
Graphics-optimized instances based on AMD EPYC And Radeon Pro GPU (NAVI) with local NVME drive, 4th generation.
|
GRAPHICS4_NVME_DRIVE_HIGH_PERFORMANCE
Graphics-optimized instances with NVME drive for high performance computing, 4th generation.
|
GRAPHICS5
Graphics-optimized instances, 5th generation.
|
GRAPHICS5_GRAVITON2
Graphics-optimized instances powered by AWS Graviton2 Processors and NVIDIA T4G Tensor Core GPUs, 5th generation.
|
HIGH_COMPUTE_MEMORY1
High memory and compute capacity instances, 1st generation.
|
HIGH_MEMORY_12TB_1
High memory instances (12TB) based on Intel Xeon Platinum 8176M (Skylake) processors, 1st generation.
|
HIGH_MEMORY_18TB_1
High memory instances (18TB) based on Intel Xeon Scalable (Cascade Lake) processors, 1st generation.
|
HIGH_MEMORY_24TB_1
High memory instances (24TB) based on Intel Xeon Scalable (Cascade Lake) processors, 1st generation.
|
HIGH_MEMORY_6TB_1
High memory instances (6TB) based on Intel Xeon Platinum 8176M (Skylake) processors, 1st generation.
|
HIGH_MEMORY_9TB_1
High memory instances (9TB) based on Intel Xeon Platinum 8176M (Skylake) processors, 1st generation.
|
HIGH_PERFORMANCE_COMPUTING6_AMD
High performance computing based on AMD EPYC, 6th generation.
|
INFERENCE1
Inferentia Chips based instances for machine learning inference applications, 1st generation.
|
IO3
I/O-optimized instances, 3rd generation.
|
IO3_DENSE_NVME_DRIVE
I/O-optimized instances with local NVME drive, 3rd generation.
|
IO4_INTEL
I/O-optimized instances with local NVME drive powered by Intel Xeon Scalable processors (code named Ice Lake), 4th generation.
|
MACINTOSH1_INTEL
Macintosh instances built on Apple Mac mini computers, 1st generation with Intel procesors.
|
MEMORY_INTENSIVE_1
Memory-intensive instances, 1st generation.
|
MEMORY_INTENSIVE_1_EXTENDED
Memory-intensive instances, extended, 1st generation.
|
MEMORY_INTENSIVE_2_GRAVITON2
Memory-intensive instances, 2nd generation with Graviton2 processors.
|
MEMORY_INTENSIVE_2_GRAVITON2_NVME_DRIVE
Memory-intensive instances, 2nd generation with Graviton2 processors and local NVME drive.
|
MEMORY_INTENSIVE_2_INTEL
Memory-intensive instances with higher network bandwith and local NVME drive, Intel Xeon Scalable (Ice Lake) processors.
|
MEMORY_INTENSIVE_2_XT_INTEL
Memory-intensive instances with higher network bandwith, local NVME drive, and extended memory.
|
MEMORY_INTENSIVE_2_XTZ_INTEL
Memory-intensive instances with higher network bandwith and single-threaded performance, Intel Xeon Scalable (Cascade Lake) processors.
|
MEMORY3
Memory optimized instances, 3rd generation.
|
MEMORY4
Memory optimized instances, 4th generation.
|
MEMORY5
Memory optimized instances, 5th generation.
|
MEMORY5_AMD
Memory optimized instances based on AMD EPYC, 5th generation.
|
MEMORY5_AMD_NVME_DRIVE
Memory optimized instances based on AMD EPYC with local NVME drive, 5th generation.
|
MEMORY5_EBS_OPTIMIZED
Memory optimized instances that are also EBS-optimized, 5th generation.
|
MEMORY5_HIGH_PERFORMANCE
Memory optimized instances for high performance computing, 5th generation.
|
MEMORY5_NVME_DRIVE
Memory optimized instances with local NVME drive, 5th generation.
|
MEMORY5_NVME_DRIVE_HIGH_PERFORMANCE
Memory optimized instances with local NVME drive for high performance computing, 5th generation.
|
MEMORY6_GRAVITON
Memory optimized instances, 6th generation with Graviton2 processors.
|
MEMORY6_GRAVITON2_NVME_DRIVE
Memory optimized instances, 6th generation with Graviton2 processors and local NVME drive.
|
MEMORY6_INTEL
Memory optimized instances, 6th generation with Intel Xeon Scalable processors (3rd generation processors code named Ice Lake).
|
PARALLEL2
Parallel-processing optimized instances, 2nd generation.
|
PARALLEL3
Parallel-processing optimized instances, 3nd generation.
|
PARALLEL4
Parallel-processing optimized instances, 4th generation.
|
STANDARD3
Standard instances, 3rd generation.
|
STANDARD4
Standard instances, 4th generation.
|
STANDARD5
Standard instances, 5th generation.
|
STANDARD5_AMD
Standard instances based on AMD EPYC, 5th generation.
|
STANDARD5_AMD_NVME_DRIVE
Standard instances based on AMD EPYC with local NVME drive, 5th generation.
|
STANDARD5_HIGH_COMPUTE
Standard instances with high memory and compute capacity based on Intel Xeon Scalable (Cascade Lake) processors, 5nd generation.
|
STANDARD5_HIGH_PERFORMANCE
Standard instances for high performance computing, 5th generation.
|
STANDARD5_NVME_DRIVE
Standard instances with local NVME drive, 5th generation.
|
STANDARD5_NVME_DRIVE_HIGH_PERFORMANCE
Standard instances with local NVME drive for high performance computing, 5th generation.
|
STANDARD6_AMD
Standard instances based on 3rd Gen AMD EPYC processors, 6th generation.
|
STANDARD6_GRAVITON
Arm processor based instances, 2nd generation.
|
STANDARD6_GRAVITON2_NVME_DRIVE
Standard instances, 6th generation with Graviton2 processors and local NVME drive.
|
STANDARD6_INTEL
Standard instances based on Intel (Ice Lake), 6th generation.
|
STORAGE_COMPUTE_1
Storage/compute balanced instances, 1st generation.
|
STORAGE2
Storage-optimized instances, 2nd generation.
|
STORAGE3
Storage-optimized instances, 3rd generation.
|
STORAGE3_ENHANCED_NETWORK
Storage-optimized instances, 3rd generation.
|
STORAGE4_GRAVITON_NETWORK_OPTIMIZED
Storage optimized instances powered by Graviton2 processor, 4th generation.
|
STORAGE4_GRAVITON_NETWORK_STORAGE_OPTIMIZED
Storage optimized instances powered by Graviton2 processor, 4th generation.
|
VIDEO_TRANSCODING1
Multi-stream video transcoding instances for resolutions up to 4K UHD, 1st generation.
|
Modifier and Type | Method and Description |
---|---|
static InstanceClass |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static InstanceClass[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InstanceClass STANDARD3
public static final InstanceClass STANDARD4
public static final InstanceClass STANDARD5
public static final InstanceClass STANDARD5_NVME_DRIVE
public static final InstanceClass STANDARD5_AMD
public static final InstanceClass STANDARD5_AMD_NVME_DRIVE
public static final InstanceClass STANDARD5_HIGH_PERFORMANCE
public static final InstanceClass STANDARD5_NVME_DRIVE_HIGH_PERFORMANCE
public static final InstanceClass STANDARD5_HIGH_COMPUTE
public static final InstanceClass MEMORY3
public static final InstanceClass MEMORY4
public static final InstanceClass MEMORY5
public static final InstanceClass MEMORY6_INTEL
public static final InstanceClass MEMORY5_HIGH_PERFORMANCE
public static final InstanceClass MEMORY5_NVME_DRIVE
public static final InstanceClass MEMORY5_NVME_DRIVE_HIGH_PERFORMANCE
public static final InstanceClass MEMORY5_AMD
public static final InstanceClass MEMORY5_AMD_NVME_DRIVE
public static final InstanceClass HIGH_MEMORY_6TB_1
public static final InstanceClass HIGH_MEMORY_9TB_1
public static final InstanceClass HIGH_MEMORY_12TB_1
public static final InstanceClass HIGH_MEMORY_18TB_1
public static final InstanceClass HIGH_MEMORY_24TB_1
public static final InstanceClass MEMORY5_EBS_OPTIMIZED
public static final InstanceClass MEMORY6_GRAVITON
public static final InstanceClass MEMORY6_GRAVITON2_NVME_DRIVE
public static final InstanceClass COMPUTE3
public static final InstanceClass COMPUTE4
public static final InstanceClass COMPUTE5
public static final InstanceClass COMPUTE5_NVME_DRIVE
public static final InstanceClass COMPUTE5_AMD
public static final InstanceClass COMPUTE5_AMD_NVME_DRIVE
public static final InstanceClass COMPUTE5_HIGH_PERFORMANCE
public static final InstanceClass COMPUTE6_INTEL
public static final InstanceClass COMPUTE6_AMD
public static final InstanceClass COMPUTE6_GRAVITON2
public static final InstanceClass COMPUTE6_GRAVITON2_NVME_DRIVE
public static final InstanceClass COMPUTE6_GRAVITON2_HIGH_NETWORK_BANDWITH
public static final InstanceClass STORAGE2
public static final InstanceClass STORAGE3
public static final InstanceClass STORAGE3_ENHANCED_NETWORK
public static final InstanceClass STORAGE_COMPUTE_1
public static final InstanceClass IO3
public static final InstanceClass IO3_DENSE_NVME_DRIVE
public static final InstanceClass IO4_INTEL
public static final InstanceClass STORAGE4_GRAVITON_NETWORK_OPTIMIZED
public static final InstanceClass STORAGE4_GRAVITON_NETWORK_STORAGE_OPTIMIZED
public static final InstanceClass BURSTABLE2
public static final InstanceClass BURSTABLE3
public static final InstanceClass BURSTABLE3_AMD
public static final InstanceClass BURSTABLE4_GRAVITON
public static final InstanceClass MEMORY_INTENSIVE_1
public static final InstanceClass MEMORY_INTENSIVE_1_EXTENDED
public static final InstanceClass MEMORY_INTENSIVE_2_GRAVITON2
This instance type can be used only in RDS. It is not supported in EC2.
public static final InstanceClass MEMORY_INTENSIVE_2_GRAVITON2_NVME_DRIVE
public static final InstanceClass MEMORY_INTENSIVE_2_XT_INTEL
Intel Xeon Scalable (Ice Lake) processors
public static final InstanceClass MEMORY_INTENSIVE_2_INTEL
public static final InstanceClass MEMORY_INTENSIVE_2_XTZ_INTEL
public static final InstanceClass FPGA1
public static final InstanceClass GRAPHICS3
public static final InstanceClass GRAPHICS4_NVME_DRIVE_HIGH_PERFORMANCE
public static final InstanceClass GRAPHICS4_AMD_NVME_DRIVE
public static final InstanceClass GRAPHICS5
public static final InstanceClass GRAPHICS5_GRAVITON2
public static final InstanceClass PARALLEL2
public static final InstanceClass PARALLEL3
public static final InstanceClass PARALLEL4
public static final InstanceClass ARM1
public static final InstanceClass STANDARD6_GRAVITON
public static final InstanceClass STANDARD6_INTEL
public static final InstanceClass STANDARD6_AMD
public static final InstanceClass STANDARD6_GRAVITON2_NVME_DRIVE
public static final InstanceClass HIGH_COMPUTE_MEMORY1
public static final InstanceClass INFERENCE1
public static final InstanceClass MACINTOSH1_INTEL
public static final InstanceClass VIDEO_TRANSCODING1
public static final InstanceClass HIGH_PERFORMANCE_COMPUTING6_AMD
public static InstanceClass[] values()
for (InstanceClass c : InstanceClass.values()) System.out.println(c);
public static InstanceClass valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null