Amazon Fargate · JSON Structure

Amazon Fargate Task Structure

An Amazon ECS task running on Fargate

Type: object Properties: 14
ComputeContainersECSEKSMicroservicesServerless

Task is a JSON Structure definition published by Amazon Fargate, describing 14 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

taskArn clusterArn taskDefinitionArn lastStatus desiredStatus launchType cpu memory createdAt startedAt stoppedAt stoppedReason networkInterfaces tags

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-fargate/refs/heads/main/json-structure/amazon-fargate-task-structure.json",
  "description": "An Amazon ECS task running on Fargate",
  "type": "object",
  "properties": {
    "taskArn": {
      "type": "string",
      "description": "ARN of the task",
      "example": "arn:aws:ecs:us-east-1:123456789012:task/my-fargate-cluster/abc123"
    },
    "clusterArn": {
      "type": "string",
      "description": "ARN of the cluster",
      "example": "arn:aws:ecs:us-east-1:123456789012:cluster/my-fargate-cluster"
    },
    "taskDefinitionArn": {
      "type": "string",
      "description": "ARN of the task definition",
      "example": "arn:aws:ecs:us-east-1:123456789012:task-definition/my-fargate-task:1"
    },
    "lastStatus": {
      "type": "string",
      "description": "Last known status",
      "example": "RUNNING",
      "enum": [
        "PROVISIONING",
        "PENDING",
        "ACTIVATING",
        "RUNNING",
        "DEACTIVATING",
        "STOPPING",
        "DEPROVISIONING",
        "STOPPED",
        "DELETED"
      ]
    },
    "desiredStatus": {
      "type": "string",
      "description": "Desired status",
      "example": "RUNNING"
    },
    "launchType": {
      "type": "string",
      "description": "Launch type",
      "example": "FARGATE",
      "enum": [
        "EC2",
        "FARGATE",
        "EXTERNAL"
      ]
    },
    "cpu": {
      "type": "string",
      "description": "CPU units",
      "example": "256"
    },
    "memory": {
      "type": "string",
      "description": "Memory in MiB",
      "example": "512"
    },
    "createdAt": {
      "type": "datetime",
      "description": "Time task was created",
      "example": "2026-04-19T12:00:00Z"
    },
    "startedAt": {
      "type": "datetime",
      "description": "Time task started running",
      "example": "2026-04-19T12:00:30Z"
    },
    "stoppedAt": {
      "type": "datetime",
      "description": "Time task stopped"
    },
    "stoppedReason": {
      "type": "string",
      "description": "Reason task stopped"
    },
    "networkInterfaces": {
      "type": "array",
      "description": "Network interfaces",
      "items": {
        "type": "object"
      }
    },
    "tags": {
      "type": "array",
      "description": "Tags",
      "items": {
        "$ref": "#/components/schemas/Tag"
      }
    }
  },
  "name": "Task"
}

Work with this as data

Every JSON Structure 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 json structure

4 MCP tools reach this
  • find_json_structuresBrowse and filter every JSON Structure 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 Structure
curl "https://apis.io/api/v1/json-structures/amazon-fargate-task-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?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.