Job definitions - AWS Batch

Job definitions

AWS Batch job definitions specify how jobs are to be run. While each job must reference a job definition, many of the parameters that are specified in the job definition can be overridden at runtime.

Some of the attributes specified in a job definition include:

  • Which Docker image to use with the container in your job

  • How many vCPUs and how much memory to use with the container

  • The command the container should run when it is started

  • What (if any) environment variables should be passed to the container when it starts

  • Any data volumes that should be used with the container

  • What (if any) IAM role your job should use for AWS permissions

For a complete description of the parameters available in a job definition, see Job definition parameters.