GetTaskExecutionOverridesContainerOverride class

Constructors

GetTaskExecutionOverridesContainerOverride({Input<List<String>?>? commands, Input<int?>? cpu, Input<List<GetTaskExecutionOverridesContainerOverrideEnvironment>?>? environments, Input<int?>? memory, Input<int?>? memoryReservation, required Input<String> name, Input<List<GetTaskExecutionOverridesContainerOverrideResourceRequirement>?>? resourceRequirements})
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.
const
GetTaskExecutionOverridesContainerOverride.fromMap(Map<String, dynamic> map)
factory

Properties

commands → Input<List<String>?>?
Command to send to the container that overrides the default command from the Docker image or the task definition.
final
cpu → Input<int?>?
Number of cpu units reserved for the container, instead of the default value from the task definition.
final
environments → Input<List<GetTaskExecutionOverridesContainerOverrideEnvironment>?>?
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.
final
hashCode → int
The hash code for this object.
no setterinherited
memory → Input<int?>?
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.
final
memoryReservation → Input<int?>?
Soft limit (in MiB) of memory to reserve for the container, instead of the default value from the task definition.
final
name → Input<String>
Name of the container that receives the override. This parameter is required if any override is specified.
final
resourceRequirements → Input<List<GetTaskExecutionOverridesContainerOverrideResourceRequirement>?>?
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.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited