Class: Aws::ECS::Types::TaskOverride
- Inherits:
-
Struct
- Object
- Struct
- Aws::ECS::Types::TaskOverride
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-ecs/types.rb
Overview
Note:
When making an API call, you may pass TaskOverride data as a hash:
{
container_overrides: [
{
name: "String",
command: ["String"],
environment: [
{
name: "String",
value: "String",
},
],
cpu: 1,
memory: 1,
memory_reservation: 1,
},
],
task_role_arn: "String",
execution_role_arn: "String",
}
The overrides associated with a task.
Instance Attribute Summary collapse
-
#container_overrides ⇒ Array<Types::ContainerOverride>
One or more container overrides sent to a task.
-
#execution_role_arn ⇒ String
The Amazon Resource Name (ARN) of the task execution role that the Amazon ECS container agent and the Docker daemon can assume.
-
#task_role_arn ⇒ String
The Amazon Resource Name (ARN) of the IAM role that containers in this task can assume.
Instance Attribute Details
#container_overrides ⇒ Array<Types::ContainerOverride>
One or more container overrides sent to a task.
5503 5504 5505 5506 5507 5508 |
# File 'lib/aws-sdk-ecs/types.rb', line 5503 class TaskOverride < Struct.new( :container_overrides, :task_role_arn, :execution_role_arn) include Aws::Structure end |
#execution_role_arn ⇒ String
The Amazon Resource Name (ARN) of the task execution role that the Amazon ECS container agent and the Docker daemon can assume.
5503 5504 5505 5506 5507 5508 |
# File 'lib/aws-sdk-ecs/types.rb', line 5503 class TaskOverride < Struct.new( :container_overrides, :task_role_arn, :execution_role_arn) include Aws::Structure end |
#task_role_arn ⇒ String
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.
5503 5504 5505 5506 5507 5508 |
# File 'lib/aws-sdk-ecs/types.rb', line 5503 class TaskOverride < Struct.new( :container_overrides, :task_role_arn, :execution_role_arn) include Aws::Structure end |