Skip to content

EcsTaskOverride

Source code in docs_src/capo_pipes/types/ecs_task_override.py
class EcsTaskOverride(TypedDict, closed=True):
    container_overrides: NotRequired[
        "capo_pipes.types.ecs_container_override_list.EcsContainerOverrideList"
    ]
    """<p>One or more container overrides that are sent to a task.</p>"""
    cpu: NotRequired["capo_pipes.types.string.String"]
    """<p>The cpu override for the task.</p>"""
    ephemeral_storage: NotRequired[
        "capo_pipes.types.ecs_ephemeral_storage.EcsEphemeralStorage"
    ]
    """<p>The ephemeral storage setting override for the task.</p> <note> <p>This parameter is only supported for tasks hosted on Fargate that use the following platform versions:</p> <ul> <li> <p>Linux platform version <code>1.4.0</code> or later.</p> </li> <li> <p>Windows platform version <code>1.0.0</code> or later.</p> </li> </ul> </note>"""
    execution_role_arn: NotRequired["capo_pipes.types.arn_or_json_path.ArnOrJsonPath"]
    """<p>The Amazon Resource Name (ARN) of the task execution IAM role override for the task. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_execution_IAM_role.html">Amazon ECS task execution IAM role</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>"""
    inference_accelerator_overrides: NotRequired[
        "capo_pipes.types.ecs_inference_accelerator_override_list.EcsInferenceAcceleratorOverrideList"
    ]
    """<p>The Elastic Inference accelerator override for the task.</p>"""
    memory: NotRequired["capo_pipes.types.string.String"]
    """<p>The memory override for the task.</p>"""
    task_role_arn: NotRequired["capo_pipes.types.arn_or_json_path.ArnOrJsonPath"]
    """<p>The Amazon Resource Name (ARN) of the IAM 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 <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-iam-roles.html">IAM Role for Tasks</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>"""

container_overrides instance-attribute

container_overrides: NotRequired[EcsContainerOverrideList]

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

cpu instance-attribute

cpu: NotRequired[String]

The cpu override for the task.

ephemeral_storage instance-attribute

ephemeral_storage: NotRequired[EcsEphemeralStorage]

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.

execution_role_arn instance-attribute

execution_role_arn: NotRequired[ArnOrJsonPath]

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

inference_accelerator_overrides instance-attribute

inference_accelerator_overrides: NotRequired[EcsInferenceAcceleratorOverrideList]

The Elastic Inference accelerator override for the task.

memory instance-attribute

memory: NotRequired[String]

The memory override for the task.

task_role_arn instance-attribute

task_role_arn: NotRequired[ArnOrJsonPath]

The Amazon Resource Name (ARN) of the IAM 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.