{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-eventbridge-pipes/refs/heads/main/json-schema/amazon-eventbridge-pipes-pipe-target-ecs-task-parameters-schema.json", "title": "PipeTargetEcsTaskParameters", "description": "The parameters for using an Amazon ECS task as a target.", "type": "object", "properties": { "CapacityProviderStrategy": { "allOf": [ { "$ref": "#/components/schemas/CapacityProviderStrategy" }, { "description": "
The capacity provider strategy to use for the task.
If a capacityProviderStrategy is specified, the launchType parameter must be omitted. If no capacityProviderStrategy or launchType is specified, the defaultCapacityProviderStrategy for the cluster is used.
FARGATE value is supported only in the Regions where Fargate with Amazon ECS is supported. For more information, see Fargate on Amazon ECS in the Amazon Elastic Container Service Developer Guide."
}
]
},
"NetworkConfiguration": {
"allOf": [
{
"$ref": "#/components/schemas/NetworkConfiguration"
},
{
"description": "Use this structure if the Amazon ECS task uses the awsvpc network mode. This structure specifies the VPC subnets and security groups associated with the task, and whether a public IP address is to be used. This structure is required if LaunchType is FARGATE because the awsvpc mode is required for Fargate tasks.
If you specify NetworkConfiguration when the target ECS task does not use the awsvpc network mode, the task fails.
Specifies the platform version for the task. Specify only the numeric portion of the platform version, such as 1.1.0.
This structure is used only if LaunchType is FARGATE. For more information about valid platform versions, see Fargate Platform Versions in the Amazon Elastic Container Service Developer Guide.
TagResource API action. "
}
]
},
"ReferenceId": {
"allOf": [
{
"$ref": "#/components/schemas/ReferenceId"
},
{
"description": "The reference ID to use for the task."
}
]
},
"Tags": {
"allOf": [
{
"$ref": "#/components/schemas/TagList"
},
{
"description": "The metadata that you apply to the task to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define. To learn more, see RunTask in the Amazon ECS API Reference."
}
]
},
"TaskCount": {
"allOf": [
{
"$ref": "#/components/schemas/LimitMin1"
},
{
"description": "The number of tasks to create based on TaskDefinition. The default is 1."
}
]
},
"TaskDefinitionArn": {
"allOf": [
{
"$ref": "#/components/schemas/ArnOrJsonPath"
},
{
"description": "The ARN of the task definition to use if the event target is an Amazon ECS task. "
}
]
}
},
"required": [
"TaskDefinitionArn"
]
}