From 6e13adc281722a491c0708954d7ed637ad45033b Mon Sep 17 00:00:00 2001 From: Vishal Gupta Date: Thu, 28 Oct 2021 07:52:44 -0700 Subject: [PATCH] feat(ec2): include p4d instance class (#17147) ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license* Instance class is missing p4d instance class. This PR adds that instance class. --- packages/@aws-cdk/aws-ec2/lib/instance-types.ts | 12 +++++++++++- 1 file changed, 11 insertions(+), 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 4f81f970bf2db..a2c5ccdadc760 100644 --- a/packages/@aws-cdk/aws-ec2/lib/instance-types.ts +++ b/packages/@aws-cdk/aws-ec2/lib/instance-types.ts @@ -452,10 +452,20 @@ export enum InstanceClass { PARALLEL3 = 'p3', /** - * Parallel-processing optimized instances, 3nd generation + * Parallel-processing optimized instances, 3rd generation */ P3 = 'p3', + /** + * Parallel-processing optimized instances, 4th generation + */ + PARALLEL4 = 'p4d', + + /** + * Parallel-processing optimized instances, 4th generation + */ + P4D = 'p4d', + /** * Arm processor based instances, 1st generation */