Skip to content

Commit

Permalink
feat(ec2): trn1 instance type (#28477)
Browse files Browse the repository at this point in the history
adding support of trn1 instance type
they were introduced [here](https://aws.amazon.com/ec2/instance-types/trn1/)

----

*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 Dec 23, 2023
1 parent 8071015 commit ed02d5c
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 ed02d5c

Please sign in to comment.