compute-on-aws-batch only supports attempts parameter for a batch job. Add conditions of retry through evaluateOnExit input (aws docs, aws cli)
compute-on-aws-batch