GetTaskExecutionOverridesContainerOverride constructor
- Input<
List< ? commands,String> ?> - Input<
int?> ? cpu, - Input<
List< ? environments,GetTaskExecutionOverridesContainerOverrideEnvironment> ?> - Input<
int?> ? memory, - Input<
int?> ? memoryReservation, - required Input<
String> name, - Input<
List< ? resourceRequirements,GetTaskExecutionOverridesContainerOverrideResourceRequirement> ?>
Creates a new GetTaskExecutionOverridesContainerOverride.
commands Command to send to the container that overrides the default command from the Docker image or the task definition.
cpu Number of cpu units reserved for the container, instead of the default value from the task definition.
environments 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. See below.
memory 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.
memoryReservation Soft limit (in MiB) of memory to reserve for the container, instead of the default value from the task definition.
name Name of the container that receives the override. This parameter is required if any override is specified.
resourceRequirements 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 below.
Implementation
const GetTaskExecutionOverridesContainerOverride({
this.commands,
this.cpu,
this.environments,
this.memory,
this.memoryReservation,
required this.name,
this.resourceRequirements,
});