AWS::Pipes::Pipe EcsTaskOverride
The overrides that are associated with a task.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "ContainerOverrides" :
[ EcsContainerOverride, ... ]
, "Cpu" :String
, "EphemeralStorage" :EcsEphemeralStorage
, "ExecutionRoleArn" :String
, "InferenceAcceleratorOverrides" :[ EcsInferenceAcceleratorOverride, ... ]
, "Memory" :String
, "TaskRoleArn" :String
}
YAML
ContainerOverrides:
- EcsContainerOverride
Cpu:String
EphemeralStorage:EcsEphemeralStorage
ExecutionRoleArn:String
InferenceAcceleratorOverrides:- EcsInferenceAcceleratorOverride
Memory:String
TaskRoleArn:String
Properties
ContainerOverrides
-
One or more container overrides that are sent to a task.
Required: No
Type: Array of EcsContainerOverride
Update requires: No interruption
Cpu
-
The cpu override for the task.
Required: No
Type: String
Update requires: No interruption
EphemeralStorage
-
The ephemeral storage setting override for the task.
Note
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.
Required: No
Type: EcsEphemeralStorage
Update requires: No interruption
-
ExecutionRoleArn
-
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.
Required: No
Type: String
Pattern:
^arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\-]+):([a-z]{2}((-gov)|(-iso(b?)))?-[a-z]+-\d{1})?:(\d{12})?:(.+)|(\$(\.[\w/_-]+(\[(\d+|\*)\])*)*)$
Minimum:
1
Maximum:
1600
Update requires: No interruption
InferenceAcceleratorOverrides
-
The Elastic Inference accelerator override for the task.
Required: No
Type: Array of EcsInferenceAcceleratorOverride
Update requires: No interruption
Memory
-
The memory override for the task.
Required: No
Type: String
Update requires: No interruption
TaskRoleArn
-
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.
Required: No
Type: String
Pattern:
^arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\-]+):([a-z]{2}((-gov)|(-iso(b?)))?-[a-z]+-\d{1})?:(\d{12})?:(.+)|(\$(\.[\w/_-]+(\[(\d+|\*)\])*)*)$
Minimum:
1
Maximum:
1600
Update requires: No interruption