Skip to content

Commit

Permalink
chore(ec2): trn1n instance type (#28914)
Browse files Browse the repository at this point in the history
adding support of trn1n instance type

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
  • Loading branch information
ayush-shah-1501 authored and SankyRed committed Feb 8, 2024
1 parent 1887b83 commit 8ad0d1a
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 @@ -616,6 +616,11 @@ export enum InstanceClass {
*/
TRN1 = 'trn1',

/**
* High performance computing powered by AWS Trainium
*/
TRN1N = 'trn1n',

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

0 comments on commit 8ad0d1a

Please sign in to comment.