Skip to content

Conversation

@matoom-nomu
Copy link
Contributor

@matoom-nomu matoom-nomu commented Oct 23, 2025

Issue None

Reason for this change

AWS Batch Job Definitions now support Consumable Resource Properties, which allow jobs to specify and consume shared resources like software licenses or API call quotas. This feature was missing from the CDK construct library.

Description of changes

  • Added support for consumableResourceProperties in AWS Batch Job Definitions
  • Added ConsumableResourceProperties and ConsumableResource interfaces to define the structure
  • Updated EcsJobDefinitionProps, EksJobDefinitionProps, and MultiNodeJobDefinitionProps to include the optional consumableResourceProperties field

Describe any new or updated permissions being added

None

Description of how you validated changes

  • Added unit test.
  • Added integration test.

Checklist


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

@aws-cdk-automation aws-cdk-automation requested a review from a team October 23, 2025 12:59
@github-actions github-actions bot added repeat-contributor [Pilot] contributed between 3-5 PRs to the CDK p2 labels Oct 23, 2025
@matoom-nomu matoom-nomu changed the title add consumableResourceProperties to jobDefinition feat(batch): add consumable resource properties to job definitions Oct 23, 2025
@matoom-nomu matoom-nomu changed the title feat(batch): add consumable resource properties to job definitions feat(batch): add consumableResourceProperties to job definitions Oct 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

p2 repeat-contributor [Pilot] contributed between 3-5 PRs to the CDK

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant