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 associated with a task.

Inheritance Hierarchy

System.Object
  Amazon.ECS.Model.TaskOverride

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

Syntax

C#
public class TaskOverride

The TaskOverride type exposes the following members

Constructors

NameDescription
Public Method TaskOverride()

Properties

NameTypeDescription
Public Property ContainerOverrides System.Collections.Generic.List<Amazon.ECS.Model.ContainerOverride>

Gets and sets the property ContainerOverrides.

One or more container overrides that are sent to a task.

Public Property Cpu System.String

Gets and sets the property Cpu.

The CPU override for the task.

Public Property EphemeralStorage Amazon.ECS.Model.EphemeralStorage

Gets and sets the property EphemeralStorage.

The ephemeral storage setting override for the task.

This parameter is only supported for tasks hosted on Fargate that use the following platform versions:

  • Linux platform version 1.4.0 or later.

  • Windows platform version 1.0.0 or later.

Public Property ExecutionRoleArn System.String

Gets and sets the property ExecutionRoleArn.

The Amazon Resource Name (ARN) of the task execution role override for the task. For more information, see Amazon ECS task execution IAM role in the Amazon Elastic Container Service Developer Guide.

Public Property InferenceAcceleratorOverrides System.Collections.Generic.List<Amazon.ECS.Model.InferenceAcceleratorOverride>

Gets and sets the property InferenceAcceleratorOverrides.

The Elastic Inference accelerator override for the task.

Public Property Memory System.String

Gets and sets the property Memory.

The memory override for the task.

Public Property TaskRoleArn System.String

Gets and sets the property TaskRoleArn.

The Amazon Resource Name (ARN) of the role that containers in this task can assume. All containers in this task are granted the permissions that are specified in this role. For more information, see IAM Role for Tasks in the Amazon Elastic Container Service Developer Guide.

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