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 should be sent to a container.

Inheritance Hierarchy

System.Object
  Amazon.Batch.Model.ContainerOverrides

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

Syntax

C#
public class ContainerOverrides

The ContainerOverrides type exposes the following members

Constructors

NameDescription
Public Method ContainerOverrides()

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 job definition.

Public Property Environment System.Collections.Generic.List<Amazon.Batch.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 job definition.

Public Property Memory System.Int32

Gets and sets the property Memory.

The number of MiB of memory reserved for the job. This value overrides the value set in the job definition.

Public Property Vcpus System.Int32

Gets and sets the property Vcpus.

The number of vCPUs to reserve for the container. This value overrides the value set in the job definition.

Version Information

.NET Standard:
Supported in: 1.3

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

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms