Skip to content

Commit

Permalink
feat(ec2): add G5 instances (#17499)
Browse files Browse the repository at this point in the history
Add support for G5 instances.

Announcement: https://aws.amazon.com/about-aws/whats-new/2021/11/announcing-general-availability-amazon-ec2-g5-instances/

Add instance type `XLARGE48` which is available for G5 instances (see [EC2 Instance Types](https://aws.amazon.com/ec2/instance-types/?nc1=h_ls#Accelerated_Computing) and [CloudFormation InstanceType](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance.html#cfn-ec2-instance-instancetype)).

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
  • Loading branch information
jumic authored Nov 15, 2021
1 parent 0fe090c commit eed70a0
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions packages/@aws-cdk/aws-ec2/lib/instance-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -466,6 +466,16 @@ export enum InstanceClass {
*/
G4DN = 'g4dn',

/**
* Graphics-optimized instances, 5th generation
*/
GRAPHICS5 = 'g5',

/**
* Graphics-optimized instances, 5th generation
*/
G5 = 'g5',

/**
* Parallel-processing optimized instances, 2nd generation
*/
Expand Down Expand Up @@ -666,6 +676,11 @@ export enum InstanceSize {
*/
XLARGE32 = '32xlarge',

/**
* Instance size XLARGE48 (48xlarge)
*/
XLARGE48 = '48xlarge',

/**
* Instance size METAL (metal)
*/
Expand Down

0 comments on commit eed70a0

Please sign in to comment.