Skip to content

Commit 0138292

Browse files
authoredNov 24, 2021
feat(ec2): add r6i instances (#17663)
New R6I instances just got released: https://aws.amazon.com/about-aws/whats-new/2021/11/amazon-ec2-r6i-instances/ Docs have already been updated: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance.html#cfn-ec2-instance-instancetype ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent cda6601 commit 0138292

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed
 

‎packages/@aws-cdk/aws-ec2/lib/instance-types.ts

+10
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,16 @@ export enum InstanceClass {
118118
*/
119119
R5 = 'r5',
120120

121+
/**
122+
* Memory optimized instances, 6th generation with Intel Xeon Scalable processors (3rd generation processors code named Ice Lake)
123+
*/
124+
MEMORY6_INTEL = 'r6i',
125+
126+
/**
127+
* Memory optimized instances, 6th generation with Intel Xeon Scalable processors (3rd generation processors code named Ice Lake)
128+
*/
129+
R6I = 'r6i',
130+
121131
/**
122132
* Memory optimized instances for high performance computing, 5th generation
123133
*/

‎packages/@aws-cdk/aws-ec2/test/instance.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ describe('instance', () => {
138138
});
139139
test('instance architecture is correctly discerned for x86-64 instance', () => {
140140
// GIVEN
141-
const sampleInstanceClasses = ['c5', 'm5ad', 'r5n', 'm6', 't3a']; // A sample of x86-64 instance classes
141+
const sampleInstanceClasses = ['c5', 'm5ad', 'r5n', 'm6', 't3a', 'r6i']; // A sample of x86-64 instance classes
142142

143143
for (const instanceClass of sampleInstanceClasses) {
144144
// WHEN

0 commit comments

Comments
 (0)
Please sign in to comment.