Job definitions - Amazon Batch
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Job definitions

Amazon 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 Amazon permissions

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