Skip to content

Commit ed02d5c

Browse files
feat(ec2): trn1 instance type (#28477)
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*
1 parent 8071015 commit ed02d5c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

packages/aws-cdk-lib/aws-ec2/lib/instance-types.ts

+6
Original file line numberDiff line numberDiff line change
@@ -611,6 +611,11 @@ export enum InstanceClass {
611611
*/
612612
STORAGE_COMPUTE_1 = 'storage-compute-1',
613613

614+
/**
615+
* High performance computing powered by AWS Trainium
616+
*/
617+
TRN1 = 'trn1',
618+
614619
/**
615620
* Storage/compute balanced instances, 1st generation
616621
*/
@@ -1395,6 +1400,7 @@ export class InstanceType {
13951400
[InstanceClass.D3]: 'd3',
13961401
[InstanceClass.STORAGE3_ENHANCED_NETWORK]: 'd3en',
13971402
[InstanceClass.D3EN]: 'd3en',
1403+
[InstanceClass.TRN1]: 'trn1',
13981404
[InstanceClass.STORAGE_COMPUTE_1]: 'h1',
13991405
[InstanceClass.H1]: 'h1',
14001406
[InstanceClass.IO3]: 'i3',

0 commit comments

Comments
 (0)