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.

Object representing any Kubernetes overrides to a job definition that's used in a SubmitJob API operation.

Inheritance Hierarchy

System.Object
  Amazon.Batch.Model.EksContainerOverride

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

Syntax

C#
public class EksContainerOverride

The EksContainerOverride type exposes the following members

Constructors

NameDescription
Public Method EksContainerOverride()

Properties

NameTypeDescription
Public Property Args System.Collections.Generic.List<System.String>

Gets and sets the property Args.

The arguments to the entrypoint to send to the container that overrides the default arguments from the Docker image or the job definition. For more information, see Dockerfile reference: CMD and Define a command an arguments for a pod in the Kubernetes documentation.

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 Env System.Collections.Generic.List<Amazon.Batch.Model.EksContainerEnvironmentVariable>

Gets and sets the property Env.

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.

Environment variables cannot start with "AWS_BATCH". This naming convention is reserved for variables that Batch sets.

Public Property Image System.String

Gets and sets the property Image.

The override of the Docker image that's used to start the container.

Public Property Name System.String

Gets and sets the property Name.

A pointer to the container that you want to override. The name must match a unique container name that you wish to override.

Public Property Resources Amazon.Batch.Model.EksContainerResourceRequirements

Gets and sets the property Resources.

The type and amount of resources to assign to a container. These override the settings in the job definition. The supported resources include memory, cpu, and nvidia.com/gpu. For more information, see Resource management for pods and containers in the Kubernetes documentation.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

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