diff --git a/batch/batch.go b/batch/batch.go index 7900cfa4160005ffccad63191271b2194a70ad67..2cc29fcbe204370130aef3fbc19ddbefa20b5064 100644 --- a/batch/batch.go +++ b/batch/batch.go @@ -15,12 +15,11 @@ import ( ) const ( - binaryPath = "/root/home/workers" // The worker binary path in the docker container + JobDefinition = "batch-job-definition" // The job definition name on aws + binaryPath = "/root/home/workers" // The worker binary path in the docker container + BatchJobMessageTypeS3 BatchJobMessageType = "s3" ) -type BatchJobQueue string -type BatchJobMessageType string - // Queue names are the same as the batch Job queue names in aws const ( BatchJobQueueLow BatchJobQueue = "batch-job-queue-low" @@ -28,9 +27,8 @@ const ( BatchJobQueueHigh BatchJobQueue = "batch-job-queue-high" ) -const ( - BatchJobMessageTypeS3 BatchJobMessageType = "s3" -) +type BatchJobQueue string +type BatchJobMessageType string type BatchJob struct { Name *string