Skip to content

Commit d52a4a7

Browse files
authored
chore(ec2): add-m9g-instance-class (#36339)
### Issue # (if applicable) Closes #36320 ### Reason for this change Added new graviton 5 instance class ### Description of changes Updated the ec2 instance class enum definitions to include new graviton 5 type ### Describe any new or updated permissions being added None ### Checklist - [ ] 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 02dd1cf commit d52a4a7

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1487,6 +1487,16 @@ export enum InstanceClass {
14871487
*/
14881488
M8A = 'm8a',
14891489

1490+
/**
1491+
* Standard instances, 9th generation with Graviton5 processors
1492+
*/
1493+
STANDARD9_GRAVITON = 'standard9-graviton',
1494+
1495+
/**
1496+
* Standard instances, 9th generation with Graviton5 processors
1497+
*/
1498+
M9G = 'm9g',
1499+
14901500
/**
14911501
* High memory and compute capacity instances, 1st generation
14921502
*/
@@ -2095,6 +2105,8 @@ export class InstanceType {
20952105
[InstanceClass.M7A]: 'm7a',
20962106
[InstanceClass.STANDARD8_AMD]: 'm8a',
20972107
[InstanceClass.M8A]: 'm8a',
2108+
[InstanceClass.STANDARD9_GRAVITON]: 'm9g',
2109+
[InstanceClass.M9G]: 'm9g',
20982110
[InstanceClass.HIGH_COMPUTE_MEMORY1]: 'z1d',
20992111
[InstanceClass.Z1D]: 'z1d',
21002112
[InstanceClass.INFERENCE1]: 'inf1',

0 commit comments

Comments
 (0)