terminate_batch_job#

TERMINATION_REASON = 'Termination requested by workflow.'#

Reason sent for terminating jobs from a workflow.

terminate_batch_job(job_arn: str) None[source]#

Terminate job on AWS Batch.

Task will sleep for 1 minute after sending the termination request.

Parameters:

job_arn – Job ARN.