Skip to content

Commit ba5a53d

Browse files
authored
chore(ec2): support G6e instance type (#31134)
Add G6e instance type. Ref: https://aws.amazon.com/about-aws/whats-new/2024/08/amazon-ec2-g6e-instances/ ### 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 be70c82 commit ba5a53d

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

+12
Original file line numberDiff line numberDiff line change
@@ -900,6 +900,16 @@ export enum InstanceClass {
900900
*/
901901
G6 = 'g6',
902902

903+
/**
904+
* Cost-efficient GPU-based instances for AI inference and spatial computing workloads, 6th generation
905+
*/
906+
GRAPHICS6_EFFICIENT = 'graphics6-efficient',
907+
908+
/**
909+
* Cost-efficient GPU-based instances for AI inference and spatial computing workloads, 6th generation
910+
*/
911+
G6E = 'g6e',
912+
903913
/**
904914
* Parallel-processing optimized instances, 2nd generation
905915
*/
@@ -1590,6 +1600,8 @@ export class InstanceType {
15901600
[InstanceClass.G5G]: 'g5g',
15911601
[InstanceClass.GRAPHICS6]: 'g6',
15921602
[InstanceClass.G6]: 'g6',
1603+
[InstanceClass.GRAPHICS6_EFFICIENT]: 'g6e',
1604+
[InstanceClass.G6E]: 'g6e',
15931605
[InstanceClass.PARALLEL2]: 'p2',
15941606
[InstanceClass.P2]: 'p2',
15951607
[InstanceClass.PARALLEL3]: 'p3',

0 commit comments

Comments
 (0)