Skip to content

Commit 9d59dd8

Browse files
authored
feat(batch): ec2 Managed Compute Environment support default instance classes, deprecate useOptimalInstanceClasses (#35537)
### Issue # (if applicable) Closes #35515 ### Reason for this change - https://aws.amazon.com/blogs/hpc/introducing-default-instance-categories-for-aws-batch/ - `optimal` behaviour change in early November 2025 ### Description of changes - EC2 Managed Compute Environment support default instance classes - Deprecate `useOptimalInstanceClasses` ### Description of how you validated changes Unit + Integ ### Checklist - [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md) ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent 27a8760 commit 9d59dd8

12 files changed

+1681
-10
lines changed

packages/@aws-cdk-testing/framework-integ/test/aws-batch/test/integ.managed-compute-environment-default-instance-class.js.snapshot/cdk.out

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/@aws-cdk-testing/framework-integ/test/aws-batch/test/integ.managed-compute-environment-default-instance-class.js.snapshot/integ.json

Lines changed: 13 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/@aws-cdk-testing/framework-integ/test/aws-batch/test/integ.managed-compute-environment-default-instance-class.js.snapshot/integmanagedcomputeenvironmentdefaultinstanceclassDefaultTestDeployAssert1520E500.assets.json

Lines changed: 20 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/@aws-cdk-testing/framework-integ/test/aws-batch/test/integ.managed-compute-environment-default-instance-class.js.snapshot/integmanagedcomputeenvironmentdefaultinstanceclassDefaultTestDeployAssert1520E500.template.json

Lines changed: 36 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/@aws-cdk-testing/framework-integ/test/aws-batch/test/integ.managed-compute-environment-default-instance-class.js.snapshot/managed-compute-environment-default-instance-class.assets.json

Lines changed: 20 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)