Amazon Fargate · Schema

TaskDefinition

An Amazon ECS task definition

ComputeContainersECSEKSMicroservicesServerless

Properties

Name Type Description
taskDefinitionArn string Full ARN of the task definition
family string Family of the task definition
revision integer Revision number
status string Task definition status
requiresCompatibilities array Launch types the task definition is compatible with
networkMode string Docker networking mode
cpu string Number of cpu units
memory string Amount of memory in MiB
executionRoleArn string ARN of task execution role
taskRoleArn string ARN of task IAM role
containerDefinitions array Container definitions
View JSON Schema on GitHub

JSON Schema

amazon-fargate-task-definition-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-fargate/refs/heads/main/json-schema/amazon-fargate-task-definition-schema.json",
  "title": "TaskDefinition",
  "description": "An Amazon ECS task definition",
  "type": "object",
  "properties": {
    "taskDefinitionArn": {
      "type": "string",
      "description": "Full ARN of the task definition",
      "example": "arn:aws:ecs:us-east-1:123456789012:task-definition/my-fargate-task:1"
    },
    "family": {
      "type": "string",
      "description": "Family of the task definition",
      "example": "my-fargate-task"
    },
    "revision": {
      "type": "integer",
      "description": "Revision number",
      "example": 1
    },
    "status": {
      "type": "string",
      "description": "Task definition status",
      "example": "ACTIVE",
      "enum": [
        "ACTIVE",
        "INACTIVE",
        "DELETE_IN_PROGRESS"
      ]
    },
    "requiresCompatibilities": {
      "type": "array",
      "description": "Launch types the task definition is compatible with",
      "items": {
        "type": "string"
      },
      "example": [
        "FARGATE"
      ]
    },
    "networkMode": {
      "type": "string",
      "description": "Docker networking mode",
      "example": "awsvpc",
      "enum": [
        "bridge",
        "host",
        "awsvpc",
        "none"
      ]
    },
    "cpu": {
      "type": "string",
      "description": "Number of cpu units",
      "example": "256"
    },
    "memory": {
      "type": "string",
      "description": "Amount of memory in MiB",
      "example": "512"
    },
    "executionRoleArn": {
      "type": "string",
      "description": "ARN of task execution role",
      "example": "arn:aws:iam::123456789012:role/ecsTaskExecutionRole"
    },
    "taskRoleArn": {
      "type": "string",
      "description": "ARN of task IAM role",
      "example": "arn:aws:iam::123456789012:role/ecsTaskRole"
    },
    "containerDefinitions": {
      "type": "array",
      "description": "Container definitions",
      "items": {
        "$ref": "#/components/schemas/ContainerDefinition"
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/amazon-fargate-task-definition"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.