Skip to content

Commit a81eec6

Browse files
authored
feat(ec2): add c8g and m8g instance classes (#32528)
### Issue # (if applicable) Closes #32522 ### Reason for this change Added new graviton 4 instance classes ### Description of changes Updated the ec2 instance class enum definitions to include new graviton 4 types ### Description of how you validated changes No ### Checklist - [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md) ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent b8e79b6 commit a81eec6

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

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

+32
Original file line numberDiff line numberDiff line change
@@ -516,6 +516,20 @@ export enum InstanceClass {
516516
*/
517517
C7G = 'c7g',
518518

519+
/**
520+
* Compute optimized instances for high performance computing, 8th generation with Graviton4 processors
521+
*
522+
* This instance class is currently only available in US East (Ohio), US East (N. Virginia), US West (Oregon), and Europe (Frankfurt).
523+
*/
524+
COMPUTE8_GRAVITON4 = 'compute8-graviton4',
525+
526+
/**
527+
* Compute optimized instances for high performance computing, 8th generation with Graviton4 processors
528+
*
529+
* This instance class is currently only available in US East (Ohio), US East (N. Virginia), US West (Oregon), and Europe (Frankfurt).
530+
*/
531+
C8G = 'c8g',
532+
519533
/**
520534
* Compute optimized instances for high performance computing, 6th generation with Graviton2 processors
521535
* and local NVME drive
@@ -1064,6 +1078,20 @@ export enum InstanceClass {
10641078
*/
10651079
M7G = 'm7g',
10661080

1081+
/**
1082+
* Standard instances, 8th generation with Graviton4 processors
1083+
*
1084+
* This instance class is currently only available in US East (Ohio), US East (N. Virginia), US West (Oregon), and Europe (Frankfurt).
1085+
*/
1086+
STANDARD8_GRAVITON = 'standard8-graviton',
1087+
1088+
/**
1089+
* Standard instances, 8th generation with Graviton4 processors
1090+
*
1091+
* This instance class is currently only available in US East (Ohio), US East (N. Virginia), US West (Oregon), and Europe (Frankfurt).
1092+
*/
1093+
M8G = 'm8g',
1094+
10671095
/**
10681096
* Standard instances, 7th generation with Graviton3 processors and local NVME drive
10691097
*
@@ -1546,6 +1574,8 @@ export class InstanceType {
15461574
[InstanceClass.C7I]: 'c7i',
15471575
[InstanceClass.COMPUTE7_AMD]: 'c7a',
15481576
[InstanceClass.C7A]: 'c7a',
1577+
[InstanceClass.COMPUTE8_GRAVITON4]: 'c8g',
1578+
[InstanceClass.C8G]: 'c8g',
15491579
[InstanceClass.STORAGE2]: 'd2',
15501580
[InstanceClass.D2]: 'd2',
15511581
[InstanceClass.STORAGE3]: 'd3',
@@ -1632,6 +1662,8 @@ export class InstanceType {
16321662
[InstanceClass.M6GD]: 'm6gd',
16331663
[InstanceClass.STANDARD7_GRAVITON]: 'm7g',
16341664
[InstanceClass.M7G]: 'm7g',
1665+
[InstanceClass.STANDARD8_GRAVITON]: 'm8g',
1666+
[InstanceClass.M8G]: 'm8g',
16351667
[InstanceClass.STANDARD7_GRAVITON3_NVME_DRIVE]: 'm7gd',
16361668
[InstanceClass.M7GD]: 'm7gd',
16371669
[InstanceClass.STANDARD7_INTEL]: 'm7i',

0 commit comments

Comments
 (0)