Skip to content

Commit e057c8f

Browse files
authoredDec 13, 2021
1 parent 8b52196 commit e057c8f

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
lines changed
 

‎packages/@aws-cdk/aws-ec2/lib/instance-types.ts

+20
Original file line numberDiff line numberDiff line change
@@ -442,6 +442,26 @@ export enum InstanceClass {
442442
*/
443443
I3EN = 'i3en',
444444

445+
/**
446+
* Storage optimized instances powered by Graviton2 processor, 4th generation
447+
*/
448+
STORAGE4_GRAVITON_NETWORK_OPTIMIZED = 'im4gn',
449+
450+
/**
451+
* Storage optimized instances powered by Graviton2 processor, 4th generation
452+
*/
453+
IM4GN = 'im4gn',
454+
455+
/**
456+
* Storage optimized instances powered by Graviton2 processor, 4th generation
457+
*/
458+
STORAGE4_GRAVITON_NETWORK_STORAGE_OPTIMIZED = 'is4gen',
459+
460+
/**
461+
* Storage optimized instances powered by Graviton2 processor, 4th generation
462+
*/
463+
IS4GEN = 'is4gen',
464+
445465
/**
446466
* Burstable instances, 2nd generation
447467
*/

‎packages/@aws-cdk/aws-ec2/test/instance.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ describe('instance', () => {
122122
test('instance architecture is correctly discerned for arm instances', () => {
123123
// GIVEN
124124
const sampleInstanceClasses = [
125-
'a1', 't4g', 'c6g', 'c6gd', 'c6gn', 'm6g', 'm6gd', 'r6g', 'r6gd', 'g5g', // current Graviton-based instance classes
125+
'a1', 't4g', 'c6g', 'c6gd', 'c6gn', 'm6g', 'm6gd', 'r6g', 'r6gd', 'g5g', 'im4gn', 'is4gen', // current Graviton-based instance classes
126126
'a13', 't11g', 'y10ng', 'z11ngd', // theoretical future Graviton-based instance classes
127127
];
128128

0 commit comments

Comments
 (0)
Please sign in to comment.