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.
Namespace: Amazon.ECS.Model
Assembly: AWSSDK.ECS.dll
Version: 3.x.y.z
public class TaskOverride
The TaskOverride type exposes the following members
Name | Description | |
---|---|---|
TaskOverride() |
Name | Type | Description | |
---|---|---|---|
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. |
|
Cpu | System.String |
Gets and sets the property Cpu. The CPU override for the task. |
|
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:
|
|
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. |
|
InferenceAcceleratorOverrides | System.Collections.Generic.List<Amazon.ECS.Model.InferenceAcceleratorOverride> |
Gets and sets the property InferenceAcceleratorOverrides. The Elastic Inference accelerator override for the task. |
|
Memory | System.String |
Gets and sets the property Memory. The memory override for the task. |
|
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. |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5