Home
Amazon Fargate
Amazon Fargate Task Definition Structure
Amazon Fargate Task Definition Structure
An Amazon ECS task definition
Type: object
Properties: 11
Compute Containers ECS EKS Microservices Serverless
TaskDefinition is a JSON Structure definition published by Amazon Fargate, describing 11 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.
Properties
taskDefinitionArn
family
revision
status
requiresCompatibilities
networkMode
cpu
memory
executionRoleArn
taskRoleArn
containerDefinitions
Meta-schema: https://json-structure.org/meta/core/v0/#
JSON Structure
{
"$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-definition-structure.json",
"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": "int32",
"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"
}
}
},
"name": "TaskDefinition"
}
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-definition-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.