Skip to content

Commit 9a56bce

Browse files
authored
feat(ec2): support for r7i instance type in aws-ec2 (#27737)
Support of R7i EC2-Instance type in aws-ec2. The [R7i](https://aws.amazon.com/ec2/instance-types/r7i/) was recently introduced in October 2023. The R7i instance type has been 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 820bb99 commit 9a56bce

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

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

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -347,12 +347,22 @@ export enum InstanceClass {
347347
R7GD = 'r7gd',
348348

349349
/**
350-
* Memory optimized instances based on Intel Xeon Scalable (Sapphire Rapids) processors, 7th generation
350+
* Memory optimized instances based on Intel Xeon Scalable (Sapphire Rapids) processors, 7th generation w/ 3.2GHz turbo frequency
351+
*/
352+
MEMORY7_INTEL_BASE = 'memory7-intel-base',
353+
354+
/**
355+
* Memory optimized instances based on Intel Xeon Scalable (Sapphire Rapids) processors, 7th generation w/ 3.2GHz turbo frequency
356+
*/
357+
R7I = 'r7i',
358+
359+
/**
360+
* Memory optimized instances based on Intel Xeon Scalable (Sapphire Rapids) processors, 7th generation, with sustained 3.9GHz turbo frequency
351361
*/
352362
MEMORY7_INTEL = 'memory7-intel',
353363

354364
/**
355-
* Memory optimized instances based on Intel Xeon Scalable (Sapphire Rapids) processors, 7th generation
365+
* Memory optimized instances based on Intel Xeon Scalable (Sapphire Rapids) processors, 7th generation, with sustained 3.9GHz turbo frequency
356366
*/
357367
R7IZ = 'r7iz',
358368

@@ -1335,6 +1345,8 @@ export class InstanceType {
13351345
[InstanceClass.R7G]: 'r7g',
13361346
[InstanceClass.MEMORY7_GRAVITON3_NVME_DRIVE]: 'r7gd',
13371347
[InstanceClass.R7GD]: 'r7gd',
1348+
[InstanceClass.MEMORY7_INTEL_BASE]: 'r7i',
1349+
[InstanceClass.R7I]: 'r7i',
13381350
[InstanceClass.MEMORY7_INTEL]: 'r7iz',
13391351
[InstanceClass.R7IZ]: 'r7iz',
13401352
[InstanceClass.MEMORY7_AMD]: 'r7a',

0 commit comments

Comments
 (0)