Skip to content

Commit 2a92664

Browse files
authored
chore(ec2): add r8gn instance classes (#35536)
### Reason for this change https://aws.amazon.com/about-aws/whats-new/2025/09/generally-available-amazon-ec2-r8gn-instances/ ### Description of changes Add r8gn instance classes ### Description of how you validated changes ```console $ aws ec2 describe-instance-types | grep -e r8gn "InstanceType": "r8gn.12xlarge", "InstanceType": "r8gn.2xlarge", ... ``` ### 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 973d234 commit 2a92664

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
@@ -492,6 +492,16 @@ export enum InstanceClass {
492492
*/
493493
R8GD = 'r8gd',
494494

495+
/**
496+
* Memory optimized instances, 8th generation with Graviton4 processors and high network bandwidth capabilities
497+
*/
498+
MEMORY8_GRAVITON4_HIGH_NETWORK_BANDWIDTH = 'memory8-graviton4-high-network-bandwidth',
499+
500+
/**
501+
* Memory optimized instances, 8th generation with Graviton4 processors and high network bandwidth capabilities
502+
*/
503+
R8GN = 'r8gn',
504+
495505
/**
496506
* Compute optimized instances, 3rd generation
497507
*/
@@ -1849,6 +1859,8 @@ export class InstanceType {
18491859
[InstanceClass.R8G]: 'r8g',
18501860
[InstanceClass.MEMORY8_GRAVITON4_NVME_DRIVE]: 'r8gd',
18511861
[InstanceClass.R8GD]: 'r8gd',
1862+
[InstanceClass.MEMORY8_GRAVITON4_HIGH_NETWORK_BANDWIDTH]: 'r8gn',
1863+
[InstanceClass.R8GN]: 'r8gn',
18521864
[InstanceClass.MEMORY8_INTEL_BASE]: 'r8i',
18531865
[InstanceClass.R8I]: 'r8i',
18541866
[InstanceClass.MEMORY8_INTEL_FLEX]: 'r8i-flex',

0 commit comments

Comments
 (0)