GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Paws::Batch::ContainerOverrides(3) User Contributed Perl Documentation Paws::Batch::ContainerOverrides(3)

Paws::Batch::ContainerOverrides

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

The overrides that should be sent to a container.

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

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.

The instance type to use for a multi-node parallel job.

This parameter isn't applicable to single-node container jobs or for jobs running on Fargate resources and shouldn't be provided.

This parameter indicates the amount of memory (in MiB) that's reserved for the job. It overrides the "memory" parameter set in the job definition, but doesn't override any memory requirement specified in the "ResourceRequirement" structure in the job definition.

This parameter is supported for jobs that run on EC2 resources, but isn't supported for jobs that run on Fargate resources. For these resources, use "resourceRequirement" instead.

The type and amount of resources to assign to a container. This overrides the settings in the job definition. The supported resources include "GPU", "MEMORY", and "VCPU".

This parameter indicates the number of vCPUs reserved for the container.It overrides the "vcpus" parameter that's set in the job definition, but doesn't override any vCPU requirement specified in the "resourceRequirement" structure in the job definition.

This parameter is supported for jobs that run on EC2 resources, but isn't supported for jobs that run on Fargate resources. For Fargate resources, you can only use "resourceRequirement". For EC2 resources, you can use either this parameter or "resourceRequirement" but not both.

This parameter maps to "CpuShares" in the Create a container (https://docs.docker.com/engine/api/v1.23/#create-a-container) section of the Docker Remote API (https://docs.docker.com/engine/api/v1.23/) and the "--cpu-shares" option to docker run (https://docs.docker.com/engine/reference/run/). Each vCPU is equivalent to 1,024 CPU shares. You must specify at least one vCPU.

This parameter isn't applicable to jobs that run on Fargate resources and shouldn't be provided. For jobs that run on Fargate resources, you must specify the vCPU requirement for the job using "resourceRequirements".

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

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>

2022-06-01 perl v5.40.2

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.