AWS SDK Version 2 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.

.NET Framework 4.5
The overrides that should be sent to a container.

Inheritance Hierarchy


Namespace: Amazon.ECS.Model
Assembly: AWSSDK.dll
Version: (assembly version)


public class ContainerOverride : Object

The ContainerOverride type exposes the following members


Public Method ContainerOverride()


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.

Public Property Environment System.Collections.Generic.List<Amazon.ECS.Model.KeyValuePair> 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.

Public Property Name System.String Gets and sets the property Name.

The name of the container that receives the override.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

.NET for Windows Store apps:
Supported in: Windows 8