(batch): missing JobStateTimeLimitActions in the JobQueue Construct
Describe the feature
Missing JobStateTimeLimitActions in the JobQueue Construct.
https://docs.aws.amazon.com/ja_jp/AWSCloudFormation/latest/UserGuide/aws-resource-batch-jobqueue.html#cfn-batch-jobqueue-jobstatetimelimitactions
Use Case
To react to blocked job queues.
It has been added at 2024/3.
https://aws.amazon.com/jp/blogs/hpc/introducing-new-alerts-to-help-users-detect-and-react-to-blocked-job-queues-in-aws-batch/
Proposed Solution
Add JobStateTimeLimitActions property the JobQueue Construct.
Other Information
No response
Acknowledgements
- [X] I may be able to implement this feature request
- [ ] This feature might incur a breaking change
CDK version used
2.141.0
Environment details (OS name and version, etc.)
MacOS
Hey @mazyu36 I am looking forward to all your PRs. Feel free to submit for that. Thank you.
Hello Do we have any estimated timeframe for when this feature will be incorporated? Additionally, I am curious if there are alternative methods available within the AWS CDK codebase to address this issue, and seems this is also not supported with batch.CfnJobQueue Construct. Stuck and can't use this feature to cancel jobs in a runnable state via AWS CDK code.
Looking forward to your response and appreciate your assistance.
I'm implementing it now. It seems to be already supported in the CfnJobQueue.
https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_batch.CfnJobQueue.html#jobstatetimelimitactions
⚠️COMMENT VISIBILITY WARNING⚠️
Comments on closed issues are hard for our team to see. If you need more assistance, please either tag a team member or open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.
Comments on closed issues and PRs are hard for our team to see. If you need help, please open a new issue that references this one.