@Generated(value="jsii-pacmak/1.57.0 (build f614666)", date="2022-04-22T22:36:21.559Z") @Stability(value=Stable) public enum InstanceClass extends 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.
|
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(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.
|
@Stability(value=Stable) public static final InstanceClass STANDARD3
@Stability(value=Stable) public static final InstanceClass STANDARD4
@Stability(value=Stable) public static final InstanceClass STANDARD5
@Stability(value=Stable) public static final InstanceClass STANDARD5_NVME_DRIVE
@Stability(value=Stable) public static final InstanceClass STANDARD5_AMD
@Stability(value=Stable) public static final InstanceClass STANDARD5_AMD_NVME_DRIVE
@Stability(value=Stable) public static final InstanceClass STANDARD5_HIGH_PERFORMANCE
@Stability(value=Stable) public static final InstanceClass STANDARD5_NVME_DRIVE_HIGH_PERFORMANCE
@Stability(value=Stable) public static final InstanceClass STANDARD5_HIGH_COMPUTE
@Stability(value=Stable) public static final InstanceClass MEMORY3
@Stability(value=Stable) public static final InstanceClass MEMORY4
@Stability(value=Stable) public static final InstanceClass MEMORY5
@Stability(value=Stable) public static final InstanceClass MEMORY6_INTEL
@Stability(value=Stable) public static final InstanceClass MEMORY5_HIGH_PERFORMANCE
@Stability(value=Stable) public static final InstanceClass MEMORY5_NVME_DRIVE
@Stability(value=Stable) public static final InstanceClass MEMORY5_NVME_DRIVE_HIGH_PERFORMANCE
@Stability(value=Stable) public static final InstanceClass MEMORY5_AMD
@Stability(value=Stable) public static final InstanceClass MEMORY5_AMD_NVME_DRIVE
@Stability(value=Stable) public static final InstanceClass HIGH_MEMORY_6TB_1
@Stability(value=Stable) public static final InstanceClass HIGH_MEMORY_9TB_1
@Stability(value=Stable) public static final InstanceClass HIGH_MEMORY_12TB_1
@Stability(value=Stable) public static final InstanceClass HIGH_MEMORY_18TB_1
@Stability(value=Stable) public static final InstanceClass HIGH_MEMORY_24TB_1
@Stability(value=Stable) public static final InstanceClass MEMORY5_EBS_OPTIMIZED
@Stability(value=Stable) public static final InstanceClass MEMORY6_GRAVITON
@Stability(value=Stable) public static final InstanceClass MEMORY6_GRAVITON2_NVME_DRIVE
@Stability(value=Stable) public static final InstanceClass COMPUTE3
@Stability(value=Stable) public static final InstanceClass COMPUTE4
@Stability(value=Stable) public static final InstanceClass COMPUTE5
@Stability(value=Stable) public static final InstanceClass COMPUTE5_NVME_DRIVE
@Stability(value=Stable) public static final InstanceClass COMPUTE5_AMD
@Stability(value=Stable) public static final InstanceClass COMPUTE5_AMD_NVME_DRIVE
@Stability(value=Stable) public static final InstanceClass COMPUTE5_HIGH_PERFORMANCE
@Stability(value=Stable) public static final InstanceClass COMPUTE6_INTEL
@Stability(value=Stable) public static final InstanceClass COMPUTE6_AMD
@Stability(value=Stable) public static final InstanceClass COMPUTE6_GRAVITON2
@Stability(value=Stable) public static final InstanceClass COMPUTE6_GRAVITON2_NVME_DRIVE
@Stability(value=Stable) public static final InstanceClass COMPUTE6_GRAVITON2_HIGH_NETWORK_BANDWITH
@Stability(value=Stable) public static final InstanceClass STORAGE2
@Stability(value=Stable) public static final InstanceClass STORAGE3
@Stability(value=Stable) public static final InstanceClass STORAGE3_ENHANCED_NETWORK
@Stability(value=Stable) public static final InstanceClass STORAGE_COMPUTE_1
@Stability(value=Stable) public static final InstanceClass IO3
@Stability(value=Stable) public static final InstanceClass IO3_DENSE_NVME_DRIVE
@Stability(value=Stable) public static final InstanceClass STORAGE4_GRAVITON_NETWORK_OPTIMIZED
@Stability(value=Stable) public static final InstanceClass STORAGE4_GRAVITON_NETWORK_STORAGE_OPTIMIZED
@Stability(value=Stable) public static final InstanceClass BURSTABLE2
@Stability(value=Stable) public static final InstanceClass BURSTABLE3
@Stability(value=Stable) public static final InstanceClass BURSTABLE3_AMD
@Stability(value=Stable) public static final InstanceClass BURSTABLE4_GRAVITON
@Stability(value=Stable) public static final InstanceClass MEMORY_INTENSIVE_1
@Stability(value=Stable) public static final InstanceClass MEMORY_INTENSIVE_1_EXTENDED
@Stability(value=Stable) public static final InstanceClass MEMORY_INTENSIVE_2_GRAVITON2
This instance type can be used only in RDS. It is not supported in EC2.
@Stability(value=Stable) public static final InstanceClass MEMORY_INTENSIVE_2_GRAVITON2_NVME_DRIVE
@Stability(value=Stable) public static final InstanceClass MEMORY_INTENSIVE_2_XT_INTEL
Intel Xeon Scalable (Ice Lake) processors
@Stability(value=Stable) public static final InstanceClass MEMORY_INTENSIVE_2_INTEL
@Stability(value=Stable) public static final InstanceClass MEMORY_INTENSIVE_2_XTZ_INTEL
@Stability(value=Stable) public static final InstanceClass FPGA1
@Stability(value=Stable) public static final InstanceClass GRAPHICS3
@Stability(value=Stable) public static final InstanceClass GRAPHICS4_NVME_DRIVE_HIGH_PERFORMANCE
@Stability(value=Stable) public static final InstanceClass GRAPHICS4_AMD_NVME_DRIVE
@Stability(value=Stable) public static final InstanceClass GRAPHICS5
@Stability(value=Stable) public static final InstanceClass GRAPHICS5_GRAVITON2
@Stability(value=Stable) public static final InstanceClass PARALLEL2
@Stability(value=Stable) public static final InstanceClass PARALLEL3
@Stability(value=Stable) public static final InstanceClass PARALLEL4
@Stability(value=Stable) public static final InstanceClass ARM1
@Stability(value=Stable) public static final InstanceClass STANDARD6_GRAVITON
@Stability(value=Stable) public static final InstanceClass STANDARD6_INTEL
@Stability(value=Stable) public static final InstanceClass STANDARD6_AMD
@Stability(value=Stable) public static final InstanceClass STANDARD6_GRAVITON2_NVME_DRIVE
@Stability(value=Stable) public static final InstanceClass HIGH_COMPUTE_MEMORY1
@Stability(value=Stable) public static final InstanceClass INFERENCE1
@Stability(value=Stable) public static final InstanceClass MACINTOSH1_INTEL
@Stability(value=Stable) public static final InstanceClass VIDEO_TRANSCODING1
@Stability(value=Stable) 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(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2022. All rights reserved.