The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Paws::ECS::ContainerOverride

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::ECS::ContainerOverride object:

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

Results returned from an API call

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

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

DESCRIPTION

The overrides that should be sent to a container. An empty container override can be passed in. An example of an empty container override would be {"containerOverrides": [ ] }. If a non-empty container override is specified, the name parameter must be included.

ATTRIBUTES

Command => ArrayRef[Str|Undef]

The command to send to the container that overrides the default command from the Docker image or the task definition. You must also specify a container name.

Cpu => Int

The number of cpu units reserved for the container, instead of the default value from the task definition. You must also specify a container name.

Environment => ArrayRef[Paws::ECS::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 task definition. You must also specify a container name.

EnvironmentFiles => ArrayRef[Paws::ECS::EnvironmentFile]

A list of files containing the environment variables to pass to a container, instead of the value from the container definition.

Memory => Int

The hard limit (in MiB) of memory to present to the container, instead of the default value from the task definition. If your container attempts to exceed the memory specified here, the container is killed. You must also specify a container name.

MemoryReservation => Int

The soft limit (in MiB) of memory to reserve for the container, instead of the default value from the task definition. You must also specify a container name.

Name => Str

The name of the container that receives the override. This parameter is required if any override is specified.

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

The type and amount of a resource to assign to a container, instead of the default value from the task definition. The only supported resource is a GPU.

SEE ALSO

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

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