AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
The overrides that are sent to a container. An empty container override can be passed
in. An example of an empty container override is {"containerOverrides": [ ] }
.
If a non-empty container override is specified, the name
parameter must be
included.
Namespace: Amazon.Pipes.Model
Assembly: AWSSDK.Pipes.dll
Version: 3.x.y.z
public class EcsContainerOverride
The EcsContainerOverride type exposes the following members
Name | Description | |
---|---|---|
![]() |
EcsContainerOverride() |
Name | Type | Description | |
---|---|---|---|
![]() |
Command | System.Collections.Generic.List<System.String> |
Gets and sets the property Command. 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 | System.Int32 |
Gets and sets the property Cpu.
The number of |
![]() |
Environment | System.Collections.Generic.List<Amazon.Pipes.Model.EcsEnvironmentVariable> |
Gets and sets the property Environment. 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 | System.Collections.Generic.List<Amazon.Pipes.Model.EcsEnvironmentFile> |
Gets and sets the property EnvironmentFiles. A list of files containing the environment variables to pass to a container, instead of the value from the container definition. |
![]() |
Memory | System.Int32 |
Gets and sets the property Memory. 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 | System.Int32 |
Gets and sets the property MemoryReservation. 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 | System.String |
Gets and sets the property Name. The name of the container that receives the override. This parameter is required if any override is specified. |
![]() |
ResourceRequirements | System.Collections.Generic.List<Amazon.Pipes.Model.EcsResourceRequirement> |
Gets and sets the property ResourceRequirements. 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. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5