AWS SDK Version 3 for .NET
API Reference

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.

Inheritance Hierarchy

System.Object
  Amazon.Pipes.Model.EcsContainerOverride

Namespace: Amazon.Pipes.Model
Assembly: AWSSDK.Pipes.dll
Version: 3.x.y.z

Syntax

C#
public class EcsContainerOverride

The EcsContainerOverride type exposes the following members

Constructors

NameDescription
Public Method EcsContainerOverride()

Properties

NameTypeDescription
Public Property 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.

Public Property Cpu System.Int32

Gets and sets the property Cpu.

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.

Public Property 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.

Public Property 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.

Public Property 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.

Public Property 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.

Public Property 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.

Public Property 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.

Version Information

.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