9 lines
348 B
Python
9 lines
348 B
Python
from __future__ import unicode_literals
|
|
|
|
|
|
def make_arn_for_compute_env(account_id, name, region_name):
|
|
return "arn:aws:batch:{0}:{1}:compute-environment/{2}".format(region_name, account_id, name)
|
|
|
|
|
|
def make_arn_for_job_queue(account_id, name, region_name):
|
|
return "arn:aws:batch:{0}:{1}:job-queue/{2}".format(region_name, account_id, name)
|