NAME

Paws::Batch::ContainerOverrides

USAGE

This class represents one of two things:

Arguments in a call to a service

Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.

As an example, if Att1 is expected to be a Paws::Batch::ContainerOverrides object:

$service_obj->Method(Att1 => { Command => $value, ..., Vcpus => $value  });

Results returned from an API call

Use accessors for each attribute. If Att1 is expected to be an Paws::Batch::ContainerOverrides object:

$result = $service_obj->Method(...);
$result->Att1->Command

DESCRIPTION

The overrides that should be sent to a container.

ATTRIBUTES

Command => ArrayRef[Str|Undef]

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

Environment => ArrayRef[Paws::Batch::KeyValuePair]

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.

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

InstanceType => Str

The instance type to use for a multi-node parallel job. This parameter is not valid for single-node container jobs.

Memory => Int

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

ResourceRequirements => ArrayRef[Paws::Batch::ResourceRequirement]

The type and amount of a resource to assign to a container. This value overrides the value set in the job definition. Currently, the only supported resource is GPU.

Vcpus => Int

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

SEE ALSO

This class forms part of Paws, describing an object used in Paws::Batch

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues