From df30d4f7fa6c1a5c381411904526be17796f2103 Mon Sep 17 00:00:00 2001 From: Thorsten Hoeger Date: Fri, 12 Nov 2021 22:13:34 +0100 Subject: [PATCH] feat(ec2): add m5n and m5dn instance types (#17488) Adding missing EC2 instances types `m5n` and `m5dn` ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license* --- .../@aws-cdk/aws-ec2/lib/instance-types.ts | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/packages/@aws-cdk/aws-ec2/lib/instance-types.ts b/packages/@aws-cdk/aws-ec2/lib/instance-types.ts index 1fc4e02f25daa..7b89924feb125 100644 --- a/packages/@aws-cdk/aws-ec2/lib/instance-types.ts +++ b/packages/@aws-cdk/aws-ec2/lib/instance-types.ts @@ -68,6 +68,26 @@ export enum InstanceClass { */ M5AD = 'm5ad', + /** + * Standard instances for high performance computing, 5th generation + */ + STANDARD5_HIGH_PERFORMANCE = 'm5n', + + /** + * Standard instances for high performance computing, 5th generation + */ + M5N = 'm5n', + + /** + * Standard instances with local NVME drive for high performance computing, 5th generation + */ + STANDARD5_NVME_DRIVE_HIGH_PERFORMANCE = 'm5dn', + + /** + * Standard instances with local NVME drive for high performance computing, 5th generation + */ + M5DN = 'm5dn', + /** * Memory optimized instances, 3rd generation */