How to use the Batch function from aws-sdk

Find comprehensive JavaScript aws-sdk.Batch code examples handpicked from public code repositorys.

35
36
37
38
39
40
41
42
43
44
  jobDefinition: '$${batch_job_definition}',
  jobQueue: '$${batch_job_queue}',
  containerOverrides: event.containerOverrides || null,
  parameters: event.parameters || null,
};
new AWS.Batch().submitJob(params, (err, data) => {
  if (err) {
    console.error(err);
    const message = 'Error calling SubmitJob for:' + event.jobName;
    console.error(message);
fork icon8
star icon22
watch icon7