Skip to content

Commit 23b8f8f

Browse files
authored
feat(ec2): support for m6in, m6idn, r6in and r6idn instance types in aws-ec2 (#27795)
The M6in, M6idn, R6in and R6idn instance types were [introduced](https://aws.amazon.com/about-aws/whats-new/2022/11/amazon-ec2-m6in-m6idn-r6in-r6idn-network-optimized-instances/) in November 2022. The instance types are supported in [CloudFormation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-instance.html#cfn-ec2-instance-instancetype). ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent af1f6bd commit 23b8f8f

File tree

1 file changed

+48
-0
lines changed

1 file changed

+48
-0
lines changed

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

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,26 @@ export enum InstanceClass {
158158
*/
159159
R6ID = 'r6id',
160160

161+
/**
162+
* Memory optimized instances for high performance computing powered by Intel Xeon Scalable processors (code named Ice Lake), 6th generation
163+
*/
164+
MEMORY6_INTEL_HIGH_PERFORMANCE = 'memory6-intel-high-performance',
165+
166+
/**
167+
* Memory optimized instances for high performance computing powered by Intel Xeon Scalable processors (code named Ice Lake), 6th generation
168+
*/
169+
R6IN = 'r6in',
170+
171+
/**
172+
* Memory optimized instances with local NVME drive for high performance computing powered by Intel Xeon Scalable processors (code named Ice Lake), 6th generation
173+
*/
174+
MEMORY6_INTEL_NVME_DRIVE_HIGH_PERFORMANCE = 'memory6-intel-nvme-drive-high-performance',
175+
176+
/**
177+
* Memory optimized instances with local NVME drive for high performance computing powered by Intel Xeon Scalable processors (code named Ice Lake), 6th generation
178+
*/
179+
R6IDN = 'r6idn',
180+
161181
/**
162182
* Memory optimized instances for high performance computing, 5th generation
163183
*/
@@ -900,6 +920,26 @@ export enum InstanceClass {
900920
*/
901921
M6ID = 'm6id',
902922

923+
/**
924+
* Standard instances for high performance computing powered by Intel Xeon Scalable processors (code named Ice Lake), 6th generation.
925+
*/
926+
STANDARD6_INTEL_HIGH_PERFORMANCE = 'standard6-intel-high-performance',
927+
928+
/**
929+
* Standard instances for high performance computing powered by Intel Xeon Scalable processors (code named Ice Lake), 6th generation.
930+
*/
931+
M6IN = 'm6in',
932+
933+
/**
934+
* Standard instances with local NVME drive for high performance computing powered by Intel Xeon Scalable processors (code named Ice Lake), 6th generation.
935+
*/
936+
STANDARD6_INTEL_NVME_DRIVE_HIGH_PERFORMANCE = 'standard6-intel-nvme-drive-high-performance',
937+
938+
/**
939+
* Standard instances with local NVME drive for high performance computing powered by Intel Xeon Scalable processors (code named Ice Lake), 6th generation.
940+
*/
941+
M6IDN = 'm6idn',
942+
903943
/**
904944
* Standard instances based on 3rd Gen AMD EPYC processors, 6th generation.
905945
*/
@@ -1219,6 +1259,10 @@ export class InstanceType {
12191259
[InstanceClass.R6I]: 'r6i',
12201260
[InstanceClass.MEMORY6_INTEL_NVME_DRIVE]: 'r6id',
12211261
[InstanceClass.R6ID]: 'r6id',
1262+
[InstanceClass.MEMORY6_INTEL_HIGH_PERFORMANCE]: 'r6in',
1263+
[InstanceClass.R6IN]: 'r6in',
1264+
[InstanceClass.MEMORY6_INTEL_NVME_DRIVE_HIGH_PERFORMANCE]: 'r6idn',
1265+
[InstanceClass.R6IDN]: 'r6idn',
12221266
[InstanceClass.MEMORY5_HIGH_PERFORMANCE]: 'r5n',
12231267
[InstanceClass.R5N]: 'r5n',
12241268
[InstanceClass.MEMORY5_NVME_DRIVE]: 'r5d',
@@ -1355,6 +1399,10 @@ export class InstanceType {
13551399
[InstanceClass.M6I]: 'm6i',
13561400
[InstanceClass.STANDARD6_INTEL_NVME_DRIVE]: 'm6id',
13571401
[InstanceClass.M6ID]: 'm6id',
1402+
[InstanceClass.STANDARD6_INTEL_HIGH_PERFORMANCE]: 'm6in',
1403+
[InstanceClass.M6IN]: 'm6in',
1404+
[InstanceClass.STANDARD6_INTEL_NVME_DRIVE_HIGH_PERFORMANCE]: 'm6idn',
1405+
[InstanceClass.M6IDN]: 'm6idn',
13581406
[InstanceClass.STANDARD6_AMD]: 'm6a',
13591407
[InstanceClass.M6A]: 'm6a',
13601408
[InstanceClass.STANDARD6_GRAVITON2_NVME_DRIVE]: 'm6gd',

0 commit comments

Comments
 (0)