Skip to content

Commit 382a0ed

Browse files
authored
feat(ec2): support for c7i and r7iz instance types in aws-ec2 (#27611)
Support of C7i and R7iz EC2-Instance types in aws-ec2. The [C7i](https://aws.amazon.com/ec2/instance-types/c7i/) and the [R7iz](https://aws.amazon.com/ec2/instance-types/r7iz/) instance types were introduced in September 2023. Both instance types are confirmed to be supported in [AWS-Cloudformation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-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 1f7075f commit 382a0ed

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -326,6 +326,16 @@ export enum InstanceClass {
326326
*/
327327
R7GD = 'r7gd',
328328

329+
/**
330+
* Memory optimized instances based on Intel Xeon Scalable (Sapphire Rapids) processors, 7th generation
331+
*/
332+
MEMORY7_INTEL = 'memory7-intel',
333+
334+
/**
335+
* Memory optimized instances based on Intel Xeon Scalable (Sapphire Rapids) processors, 7th generation
336+
*/
337+
R7IZ = 'r7iz',
338+
329339
/**
330340
* Compute optimized instances, 3rd generation
331341
*/
@@ -506,6 +516,16 @@ export enum InstanceClass {
506516
*/
507517
C7GN = 'c7gn',
508518

519+
/**
520+
* Compute optimized instances based on Intel Xeon Scalable (Sapphire Rapids) processors, 7th generation
521+
*/
522+
COMPUTE7_INTEL = 'compute7-intel',
523+
524+
/**
525+
* Compute optimized instances based on Intel Xeon Scalable (Sapphire Rapids) processors, 7th generation
526+
*/
527+
C7I = 'c7i',
528+
509529
/**
510530
* Storage-optimized instances, 2nd generation
511531
*/
@@ -1221,6 +1241,8 @@ export class InstanceType {
12211241
[InstanceClass.R7G]: 'r7g',
12221242
[InstanceClass.MEMORY7_GRAVITON3_NVME_DRIVE]: 'r7gd',
12231243
[InstanceClass.R7GD]: 'r7gd',
1244+
[InstanceClass.MEMORY7_INTEL]: 'r7iz',
1245+
[InstanceClass.R7IZ]: 'r7iz',
12241246
[InstanceClass.COMPUTE3]: 'c3',
12251247
[InstanceClass.C3]: 'c3',
12261248
[InstanceClass.COMPUTE4]: 'c4',
@@ -1255,6 +1277,8 @@ export class InstanceType {
12551277
[InstanceClass.C7GD]: 'c7gd',
12561278
[InstanceClass.COMPUTE7_GRAVITON3_HIGH_NETWORK_BANDWIDTH]: 'c7gn',
12571279
[InstanceClass.C7GN]: 'c7gn',
1280+
[InstanceClass.COMPUTE7_INTEL]: 'c7i',
1281+
[InstanceClass.C7I]: 'c7i',
12581282
[InstanceClass.STORAGE2]: 'd2',
12591283
[InstanceClass.D2]: 'd2',
12601284
[InstanceClass.STORAGE3]: 'd3',

0 commit comments

Comments
 (0)