Skip to content

Commit

Permalink
chore(ec2): add c6in instance type (#23138)
Browse files Browse the repository at this point in the history
https://aws.amazon.com/about-aws/whats-new/2022/11/introducing-amazon-ec2-c6in-instances/

CloudFormation docs are catching up...  awsdocs/aws-cloudformation-user-guide#1291

edit: Achievement unlocked - Submit a PR during re:Invent while attending re:Invent ✅ 

🤣 

----

### All Submissions:

* [x] Have you followed the guidelines in our [Contributing guide?](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md)

### Adding new Unconventional Dependencies:

* [ ] This PR adds new unconventional dependencies following the process described [here](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md/#adding-new-unconventional-dependencies)

### New Features

* [ ] Have you added the new feature to an [integration test](https://github.com/aws/aws-cdk/blob/main/INTEGRATION_TESTS.md)?
	* [ ] Did you use `yarn integ` to deploy the infrastructure and generate the snapshot (i.e. `yarn integ` without `--dry-run`)?

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
  • Loading branch information
robertd authored Nov 29, 2022
1 parent 9d8f69e commit 8e69c81
Showing 1 changed file with 25 additions and 15 deletions.
40 changes: 25 additions & 15 deletions packages/@aws-cdk/aws-ec2/lib/instance-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -374,8 +374,8 @@ export enum InstanceClass {
COMPUTE6_INTEL = 'compute6-intel',

/**
* Compute optimized instances, 6th generation
*/
* Compute optimized instances, 6th generation
*/
C6I = 'c6i',

/**
Expand All @@ -389,13 +389,23 @@ export enum InstanceClass {
C6ID = 'c6id',

/**
* Compute optimized instances based on AMD EPYC (codename Milan), 6th generation
*/
* Compute optimized instances for high performance computing, 6th generation
*/
COMPUTE6_INTEL_HIGH_PERFORMANCE = 'compute6-intel-high-performance',

/**
* Compute optimized instances for high performance computing, 6th generation
*/
C6IN = 'c6in',

/**
* Compute optimized instances based on AMD EPYC (codename Milan), 6th generation
*/
COMPUTE6_AMD = 'compute6-amd',

/**
* Compute optimized instances based on AMD EPYC (codename Milan), 6th generation
*/
* Compute optimized instances based on AMD EPYC (codename Milan), 6th generation
*/
C6A = 'c6a',

/**
Expand Down Expand Up @@ -436,7 +446,6 @@ export enum InstanceClass {
*/
COMPUTE6_GRAVITON2_HIGH_NETWORK_BANDWITH = 'compute6-graviton2-high-network-banwidth',


/**
* Compute optimized instances for high performance computing, 6th generation with Graviton2 processors
* and high network bandwidth capabilities
Expand Down Expand Up @@ -475,8 +484,8 @@ export enum InstanceClass {
STORAGE3_ENHANCED_NETWORK = 'storage3-enhanced-network',

/**
* Storage-optimized instances, 3rd generation
*/
* Storage-optimized instances, 3rd generation
*/
D3EN = 'd3en',

/**
Expand Down Expand Up @@ -629,7 +638,7 @@ export enum InstanceClass {
MEMORY_INTENSIVE_2_XT_INTEL = 'memory_intensive_2_xt_intel',

/**
* Memory-intensive instances with higher network bandwith, local NVME drive, and extended memory. Intel Xeon Scalable (Ice Lake) processors
* Memory-intensive instances with higher network bandwith, local NVME drive, and extended memory. Intel Xeon Scalable (Ice Lake) processors
*/
X2IEDN = 'x2iedn',

Expand Down Expand Up @@ -719,8 +728,8 @@ export enum InstanceClass {
GRAPHICS5_GRAVITON2 = 'graphics5-graviton2',

/**
* Graphics-optimized instances powered by AWS Graviton2 Processors and NVIDIA T4G Tensor Core GPUs, 5th generation
*/
* Graphics-optimized instances powered by AWS Graviton2 Processors and NVIDIA T4G Tensor Core GPUs, 5th generation
*/
G5G = 'g5g',

/**
Expand Down Expand Up @@ -753,7 +762,6 @@ export enum InstanceClass {
*/
P3DN = 'p3dn',


/**
* Parallel-processing optimized instances with local NVME drive, extended, 4th generation (in developer preview)
*/
Expand Down Expand Up @@ -820,8 +828,8 @@ export enum InstanceClass {
STANDARD6_AMD = 'standard6-amd',

/**
* Standard instances based on 3rd Gen AMD EPYC processors, 6th generation.
*/
* Standard instances based on 3rd Gen AMD EPYC processors, 6th generation.
*/
M6A = 'm6a',

/**
Expand Down Expand Up @@ -1117,6 +1125,8 @@ export class InstanceType {
[InstanceClass.C5N]: 'c5n',
[InstanceClass.COMPUTE6_INTEL]: 'c6i',
[InstanceClass.C6I]: 'c6i',
[InstanceClass.COMPUTE6_INTEL_HIGH_PERFORMANCE]: 'c6in',
[InstanceClass.C6IN]: 'c6in',
[InstanceClass.COMPUTE6_INTEL_NVME_DRIVE]: 'c6id',
[InstanceClass.C6ID]: 'c6id',
[InstanceClass.COMPUTE6_AMD]: 'c6a',
Expand Down

0 comments on commit 8e69c81

Please sign in to comment.