Skip to content

Commit aaf442b

Browse files
authored
feat(ec2): add c8gn instance class (#34866)
### Issue # (if applicable) None ### Reason for this change https://aws.amazon.com/about-aws/whats-new/2025/06/amazon-ec2-c8gn-instance/ ### Description of changes EC2 add c8gn instance class ### Describe any new or updated permissions being added ### Description of how you validated changes ```console $ aws ec2 describe-instance-types | grep -e c8gn "InstanceType": "c8gn.4xlarge", "InstanceType": "c8gn.16xlarge", "InstanceType": "c8gn.8xlarge", "InstanceType": "c8gn.12xlarge", "InstanceType": "c8gn.xlarge", "InstanceType": "c8gn.48xlarge", "InstanceType": "c8gn.2xlarge", "InstanceType": "c8gn.metal-24xl", "InstanceType": "c8gn.large", "InstanceType": "c8gn.medium", "InstanceType": "c8gn.24xlarge", "InstanceType": "c8gn.metal-48xl", ``` ### 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 c8453e5 commit aaf442b

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

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

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -674,6 +674,18 @@ export enum InstanceClass {
674674
*/
675675
C7GN = 'c7gn',
676676

677+
/**
678+
* Compute optimized instances for high performance computing, 8th generation with Graviton4 processors
679+
* and high network bandwidth capabilities
680+
*/
681+
COMPUTE8_GRAVITON4_HIGH_NETWORK_BANDWIDTH = 'compute8-graviton4-high-network-bandwidth',
682+
683+
/**
684+
* Compute optimized instances for high performance computing, 8th generation with Graviton4 processors
685+
* and high network bandwidth capabilities
686+
*/
687+
C8GN = 'c8gn',
688+
677689
/**
678690
* Compute optimized instances based on Intel Xeon Scalable (Sapphire Rapids) processors, 7th generation
679691
*/
@@ -1827,6 +1839,8 @@ export class InstanceType {
18271839
[InstanceClass.C8G]: 'c8g',
18281840
[InstanceClass.COMPUTE8_GRAVITON4_NVME_DRIVE]: 'c8gd',
18291841
[InstanceClass.C8GD]: 'c8gd',
1842+
[InstanceClass.COMPUTE8_GRAVITON4_HIGH_NETWORK_BANDWIDTH]: 'c8gn',
1843+
[InstanceClass.C8GN]: 'c8gn',
18301844
[InstanceClass.STORAGE2]: 'd2',
18311845
[InstanceClass.D2]: 'd2',
18321846
[InstanceClass.STORAGE3]: 'd3',

0 commit comments

Comments
 (0)