AWS Batch
API Reference (API Version 2016-08-10)

ContainerOverrides

The overrides that should be sent to a container.

Contents

command

The command to send to the container that overrides the default command from the Docker image or the job definition.

Type: Array of strings

Required: No

environment

The environment variables to send to the container. You can add new environment variables, which are added to the container at launch, or you can override the existing environment variables from the Docker image or the job definition.

Note

Environment variables must not start with AWS_BATCH; this naming convention is reserved for variables that are set by the AWS Batch service.

Type: Array of KeyValuePair objects

Required: No

memory

The number of MiB of memory reserved for the job. This value overrides the value set in the job definition.

Type: Integer

Required: No

vcpus

The number of vCPUs to reserve for the container. This value overrides the value set in the job definition.

Type: Integer

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

On this page: