From cef59ef7bf6b8b2b7fe9c67db2d2be40191a99fa Mon Sep 17 00:00:00 2001 From: Christian Moore Date: Tue, 22 Mar 2022 13:04:03 -0400 Subject: [PATCH 1/2] feat(ec2): add support for x2iezn instances --- packages/@aws-cdk/aws-ec2/lib/instance-types.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/packages/@aws-cdk/aws-ec2/lib/instance-types.ts b/packages/@aws-cdk/aws-ec2/lib/instance-types.ts index 11f472a75da90..3d3b95f2fbfc7 100644 --- a/packages/@aws-cdk/aws-ec2/lib/instance-types.ts +++ b/packages/@aws-cdk/aws-ec2/lib/instance-types.ts @@ -576,6 +576,16 @@ export enum InstanceClass { */ X2IDN = 'x2idn', + /** + * Memory-intensive instances with higher network bandwith and single-threaded performance, Intel Xeon Scalable (Cascade Lake) processors + */ + MEMORY_INTENSIVE_2_XTZ_INTEL = 'x2iezn', + + /** + * Memory-intensive instances with higher network bandwith and local NVME drive, Intel Xeon Scalable (Ice Lake) processors + */ + X2IEZN = 'x2iezn', + /** * Instances with customizable hardware acceleration, 1st generation */ From 87539dcb7578f7265fb15e501ae253cd5cf1ea56 Mon Sep 17 00:00:00 2001 From: Christian Moore Date: Tue, 22 Mar 2022 13:04:58 -0400 Subject: [PATCH 2/2] fix description --- packages/@aws-cdk/aws-ec2/lib/instance-types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/@aws-cdk/aws-ec2/lib/instance-types.ts b/packages/@aws-cdk/aws-ec2/lib/instance-types.ts index 3d3b95f2fbfc7..4c7770d22c428 100644 --- a/packages/@aws-cdk/aws-ec2/lib/instance-types.ts +++ b/packages/@aws-cdk/aws-ec2/lib/instance-types.ts @@ -582,7 +582,7 @@ export enum InstanceClass { MEMORY_INTENSIVE_2_XTZ_INTEL = 'x2iezn', /** - * Memory-intensive instances with higher network bandwith and local NVME drive, Intel Xeon Scalable (Ice Lake) processors + * Memory-intensive instances with higher network bandwith and single-threaded performance, Intel Xeon Scalable (Cascade Lake) processors */ X2IEZN = 'x2iezn',