Skip to content

feat(ec2): add C8a (InstanceClass.C8A) to available instance classes#37461

Open
syukawa-gh wants to merge 2 commits intoaws:mainfrom
syukawa-gh:feat/ec2-add-c8a-instance-class
Open

feat(ec2): add C8a (InstanceClass.C8A) to available instance classes#37461
syukawa-gh wants to merge 2 commits intoaws:mainfrom
syukawa-gh:feat/ec2-add-c8a-instance-class

Conversation

@syukawa-gh
Copy link
Copy Markdown
Contributor

Issue

Closes #36722

Reason for this change

The C8a instance class (compute-optimized, based on 5th generation AMD EPYC processors) is available on AWS but was missing from the CDK InstanceClass enum.

Description of changes

  • Added COMPUTE8_AMD and C8A enum values to InstanceClass
  • Added corresponding entries in the instance class mapping table

Description of how you validated changes

Follows the same pattern as other instance class additions (e.g., C7A, C8G, C8I).

Checklist

@github-actions github-actions bot added admired-contributor [Pilot] contributed between 13-24 PRs to the CDK effort/small Small work item – less than a day of effort feature-request A feature should be added or improved. p2 labels Apr 1, 2026
@aws-cdk-automation aws-cdk-automation requested a review from a team April 1, 2026 00:26
Copy link
Copy Markdown
Collaborator

@aws-cdk-automation aws-cdk-automation left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The pull request linter fails with the following errors:

❌ Features must contain a change to an integration test file and the resulting snapshot.

If you believe this pull request should receive an exemption, please comment and provide a justification. A comment requesting an exemption should contain the text Exemption Request. Additionally, if clarification is needed, add Clarification Request to a comment.

✅ A exemption request has been requested. Please wait for a maintainer's review.

Add C8a compute-optimized instance class based on 5th generation AMD
EPYC processors.

Closes aws#36722
@syukawa-gh syukawa-gh force-pushed the feat/ec2-add-c8a-instance-class branch from 948d050 to d70dad4 Compare April 1, 2026 08:20
@syukawa-gh
Copy link
Copy Markdown
Contributor Author

Exemption Request: The EC2 README does not contain an enumeration of instance classes, so there is no natural place to document the addition of C8A. The instance class is self-documenting through the enum JSDoc and follows the same pattern as all other instance class additions (C7A, C8G, C8I, etc.).

@aws-cdk-automation aws-cdk-automation added the pr-linter/exemption-requested The contributor has requested an exemption to the PR Linter feedback. label Apr 1, 2026
@syukawa-gh
Copy link
Copy Markdown
Contributor Author

Exemption Request: This change is a minimal fix that does not alter CloudFormation resource behavior in a way that requires a new integration test. The fix is covered by unit tests.

@syukawa-gh
Copy link
Copy Markdown
Contributor Author

Updated: Added C8A instance class example to the EC2 README. The previous Exemption Request for the README change is no longer needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

admired-contributor [Pilot] contributed between 13-24 PRs to the CDK effort/small Small work item – less than a day of effort feature-request A feature should be added or improved. p2 pr/needs-community-review This PR needs a review from a Trusted Community Member or Core Team Member. pr-linter/exemption-requested The contributor has requested an exemption to the PR Linter feedback.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

aws-ec2: Add C8a (InstanceClass.C8A) to available instance classes

3 participants