Skip to content

Commit

Permalink
adding trn1 instance type
Browse files Browse the repository at this point in the history
  • Loading branch information
ayush-shah-1501 committed Dec 23, 2023
1 parent 8071015 commit 50e2b92
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/aws-cdk-lib/aws-ec2/lib/instance-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -611,6 +611,11 @@ export enum InstanceClass {
*/
STORAGE_COMPUTE_1 = 'storage-compute-1',

/**
* High performance computing powered by AWS Trainium
*/
TRN1 = 'trn1',

/**
* Storage/compute balanced instances, 1st generation
*/
Expand Down Expand Up @@ -1395,6 +1400,7 @@ export class InstanceType {
[InstanceClass.D3]: 'd3',
[InstanceClass.STORAGE3_ENHANCED_NETWORK]: 'd3en',
[InstanceClass.D3EN]: 'd3en',
[InstanceClass.TRN1]: 'trn1',
[InstanceClass.STORAGE_COMPUTE_1]: 'h1',
[InstanceClass.H1]: 'h1',
[InstanceClass.IO3]: 'i3',
Expand Down

0 comments on commit 50e2b92

Please sign in to comment.