Skip to content

Commit fe0955f

Browse files
authored
feat(ec2): support of m7i and m7i-flex ec2-instancetypes (#27156)
Support of M7i and M7i-flex EC2-Instancetypes. They were introduced [here](https://aws.amazon.com/de/ec2/instance-types/m7i/) and are also integrated in [AWS-Cloudformation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance.html#aws-properties-ec2-instance-properties:~:text=medium%20%7C%20m7gd.xlarge-,%7C%20m7i%2Dflex.2xlarge,-%7C%20m7i%2Dflex.4xlarge) ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent 452b868 commit fe0955f

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

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

+26
Original file line numberDiff line numberDiff line change
@@ -918,6 +918,28 @@ export enum InstanceClass {
918918
*/
919919
M7GD = 'm7gd',
920920

921+
/**
922+
* Standard instances with high memory and compute capacity based on Intel Xeon Scalable (Sapphire Rapids) processors, 7th generation
923+
*/
924+
STANDARD7_INTEL = 'standard7-intel',
925+
926+
/**
927+
* Standard instances with high memory and compute capacity based on Intel Xeon Scalable (Sapphire Rapids) processors, 7th generation
928+
*/
929+
M7I = 'm7i',
930+
931+
/**
932+
* Flexible instances with high memory and compute capacity based on Intel Xeon Scalable (Sapphire Rapids) processors, 7th generation
933+
* The M7i-Flex instances deliver a baseline of 40% CPU performance, and can scale up to full CPU performance 95% of the time
934+
*/
935+
STANDARD7_INTEL_FLEX = 'standard7-intel-flex',
936+
937+
/**
938+
* Flexible instances with high memory and compute capacity based on Intel Xeon Scalable (Sapphire Rapids) processors, 7th generation
939+
* The M7i-Flex instances deliver a baseline of 40% CPU performance, and can scale up to full CPU performance 95% of the time
940+
*/
941+
M7I_FLEX = 'm7i-flex',
942+
921943
/**
922944
* High memory and compute capacity instances, 1st generation
923945
*/
@@ -1305,6 +1327,10 @@ export class InstanceType {
13051327
[InstanceClass.M7G]: 'm7g',
13061328
[InstanceClass.STANDARD7_GRAVITON3_NVME_DRIVE]: 'm7gd',
13071329
[InstanceClass.M7GD]: 'm7gd',
1330+
[InstanceClass.STANDARD7_INTEL]: 'm7i',
1331+
[InstanceClass.M7I]: 'm7i',
1332+
[InstanceClass.STANDARD7_INTEL_FLEX]: 'm7i-flex',
1333+
[InstanceClass.M7I_FLEX]: 'm7i-flex',
13081334
[InstanceClass.HIGH_COMPUTE_MEMORY1]: 'z1d',
13091335
[InstanceClass.Z1D]: 'z1d',
13101336
[InstanceClass.INFERENCE1]: 'inf1',

0 commit comments

Comments
 (0)