Skip to content

Commit

Permalink
feat(ec2): add new EC2 instance types #3308 (#3309)
Browse files Browse the repository at this point in the history
fixes #3308
  • Loading branch information
ScOut3R authored and rix0rrr committed Jul 17, 2019
1 parent f2e55e2 commit 184b93f
Showing 1 changed file with 103 additions and 2 deletions.
105 changes: 103 additions & 2 deletions packages/@aws-cdk/aws-ec2/lib/instance-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,26 @@ export enum InstanceClass {
*/
M5 = 'm5',

/**
* Standard instances with local NVME drive, 5th generation
*/
STANDARD5_NVME_DRIVE = 'm5d',

/**
* Standard instances with local NVME drive, 5th generation
*/
M5D = 'm5d',

/**
* Standard instances based on AMD EPYC with local NVME drive, 5th generation
*/
STANDARD5_AMD_NVME_DRIVE = 'm5ad',

/**
* Standard instances based on AMD EPYC with local NVME drive, 5th generation
*/
M5AD = 'm5ad',

/**
* Memory optimized instances, 3rd generation
*/
Expand All @@ -49,15 +69,35 @@ export enum InstanceClass {
R3 = 'r3',

/**
* Memory optimized instances, 3rd generation
* Memory optimized instances, 4th generation
*/
MEMORY4 = 'r4',

/**
* Memory optimized instances, 3rd generation
* Memory optimized instances, 4th generation
*/
R4 = 'r4',

/**
* Memory optimized instances, 5th generation
*/
MEMORY5 = 'r5',

/**
* Memory optimized instances, 5th generation
*/
R5 = 'r5',

/**
* Memory optimized instances based on AMD EPYC, 5th generation
*/
MEMORY5_AMD = 'r5a',

/**
* Memory optimized instances based on AMD EPYC, 5th generation
*/
R5A = 'r5a',

/**
* Compute optimized instances, 3rd generation
*/
Expand Down Expand Up @@ -88,6 +128,26 @@ export enum InstanceClass {
*/
C5 = 'c5',

/**
* Compute optimized instances with local NVME drive, 5th generation
*/
COMPUTE5_NVME_DRIVE = 'c5d',

/**
* Compute optimized instances with local NVME drive, 5th generation
*/
C5D = 'c5d',

/**
* Compute optimized instances for high performance computing, 5th generation
*/
COMPUTE5_HIGH_PERFORMANCE = 'c5n',

/**
* Compute optimized instances for high performance computing, 5th generation
*/
C5N = 'c5n',

/**
* Storage-optimized instances, 2nd generation
*/
Expand Down Expand Up @@ -118,6 +178,16 @@ export enum InstanceClass {
*/
I3 = 'i3',

/**
* I/O-optimized instances with local NVME drive, 3rd generation
*/
IO3_DENSE_NVME_DRIVE = 'i3en',

/**
* I/O-optimized instances with local NVME drive, 3rd generation
*/
I3EN = 'i3en',

/**
* Burstable instances, 2nd generation
*/
Expand All @@ -138,6 +208,16 @@ export enum InstanceClass {
*/
T3 = 't3',

/**
* Burstable instances based on AMD EPYC, 3rd generation
*/
BURSTABLE3_AMD = 't3a',

/**
* Burstable instances based on AMD EPYC, 3rd generation
*/
T3A = 't3a',

/**
* Memory-intensive instances, 1st generation
*/
Expand Down Expand Up @@ -197,6 +277,26 @@ export enum InstanceClass {
* Parallel-processing optimized instances, 3nd generation
*/
P3 = 'p3',

/**
* Arm processor based instances, 1st generation
*/
ARM1 = 'a1',

/**
* Arm processor based instances, 1st generation
*/
A1 = 'a1',

/**
* High memory and compute capacity instances, 1st generation
*/
HIGH_COMPUTE_MEMORY1 = 'z1d',

/**
* High memory and compute capacity instances, 1st generation
*/
Z1D = 'z1d',
}

/**
Expand All @@ -219,6 +319,7 @@ export enum InstanceSize {
XLARGE18 = '18xlarge',
XLARGE24 = '24xlarge',
XLARGE32 = '32xlarge',
METAL = 'metal',
}

/**
Expand Down

0 comments on commit 184b93f

Please sign in to comment.