From 8ad0d1aa9df96a8599073cf1312a43505cb75cbd Mon Sep 17 00:00:00 2001 From: Ayush Shah Date: Tue, 30 Jan 2024 07:41:02 +0530 Subject: [PATCH] chore(ec2): trn1n instance type (#28914) 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* --- packages/aws-cdk-lib/aws-ec2/lib/instance-types.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packages/aws-cdk-lib/aws-ec2/lib/instance-types.ts b/packages/aws-cdk-lib/aws-ec2/lib/instance-types.ts index d47b269118efb..935b505a79213 100644 --- a/packages/aws-cdk-lib/aws-ec2/lib/instance-types.ts +++ b/packages/aws-cdk-lib/aws-ec2/lib/instance-types.ts @@ -616,6 +616,11 @@ export enum InstanceClass { */ TRN1 = 'trn1', + /** + * High performance computing powered by AWS Trainium + */ + TRN1N = 'trn1n', + /** * Storage/compute balanced instances, 1st generation */ @@ -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',