You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::ECS::Types::TaskOverride

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing TaskOverride as input to an Aws::Client method, you can use a vanilla Hash:

{
  container_overrides: [
    {
      name: "String",
      command: ["String"],
      environment: [
        {
          name: "String",
          value: "String",
        },
      ],
      cpu: 1,
      memory: 1,
      memory_reservation: 1,
    },
  ],
  task_role_arn: "String",
}

The overrides associated with a task.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#container_overridesArray<Types::ContainerOverride>

One or more container overrides sent to a task.

Returns:

#task_role_arnString

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.

Returns:

  • (String)

    The Amazon Resource Name (ARN) of the IAM role that containers in this task can assume.