I am using AWSBatch Java client com.amazonaws.services.batch (AWS SDK for Java - 1.11.483)
to submit jobs programmatically.
However, our scientists keep updating the job definition. Every time there is a new job definition, I have to update the environment variable with the revision number to pass it to the client. AWS documentation states that
This value can be either a name:revision or the Amazon Resource Name (ARN) for the job definition.
Is there any way I can default it to the latest revision and every time I submit a BatchJob, the latest revision will get picked without even knowing the last revision?
ACTIVE
revision, is it safe to assume that the "latest" one will be picked up? – Elka