Paws::ECS::ContainerOverride
This class represents one of two things:
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 });
Use accessors for each attribute. If Att1 is expected to be an Paws::ECS::ContainerOverride object:
$result = $service_obj->Method(...); $result->Att1->Command
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.
{"containerOverrides": [ ] }
name
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.
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.
cpu
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.
A list of files containing the environment variables to pass to a container, instead of the value from the container definition.
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.
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.
The name of the container that receives the override. This parameter is required if any override is specified.
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.
This class forms part of Paws, describing an object used in Paws::ECS
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
To install Paws, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Paws
CPAN shell
perl -MCPAN -e shell install Paws
For more information on module installation, please visit the detailed CPAN module installation guide.