From d276b020e61ee4455c7ed9f093436d1aab319e76 Mon Sep 17 00:00:00 2001 From: Tim Underwood Date: Fri, 11 Dec 2020 21:44:00 -0800 Subject: [PATCH] feat(ec2): add r5b instance type to instance class (#12027) This adds the missing r5b enum entries. Fixes #12025 ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license* --- 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 0933227713eda..12d7a483f8cf9 100644 --- a/packages/@aws-cdk/aws-ec2/lib/instance-types.ts +++ b/packages/@aws-cdk/aws-ec2/lib/instance-types.ts @@ -148,6 +148,16 @@ export enum InstanceClass { */ R5AD = 'r5a', + /** + * Memory optimized instances that are also EBS-optimized, 5th generation + */ + MEMORY5_EBS_OPTIMIZED = 'r5b', + + /** + * Memory optimized instances that are also EBS-optimized, 5th generation + */ + R5B = 'r5b', + /** * Memory optimized instances, 6th generation with Graviton2 processors */