Amazon ECS · Schema

RegisterTaskDefinitionRequest

AmazonContainersDockerECSOrchestration

Properties

Name Type Description
family string You must specify a family for a task definition. Up to 255 characters (uppercase and lowercase letters, numbers, underscores, and hyphens are allowed).
containerDefinitions array A list of container definitions that describe the containers that make up the task.
taskRoleArn string The short name or full ARN of the IAM role that containers in this task can assume.
executionRoleArn string The ARN of the task execution role that grants the ECS container agent permission to make API calls on your behalf.
networkMode string The Docker networking mode to use for the containers in the task.
volumes array A list of volume definitions for the task.
placementConstraints array
requiresCompatibilities array The task launch type compatibility requirement.
cpu string The number of CPU units used by the task. Required for Fargate launch type. Valid values: 256 (.25 vCPU) through 16384 (16 vCPU).
memory string The amount of memory (in MiB) used by the task. Required for Fargate launch type.
tags array
pidMode string The process namespace to use for the containers in the task.
ipcMode string The IPC resource namespace to use for the containers in the task.
inferenceAccelerators array
enableFaultInjection boolean Whether to enable fault injection for the task definition.
View JSON Schema on GitHub

JSON Schema

amazon-ecs-register-task-definition-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "RegisterTaskDefinitionRequest",
  "type": "object",
  "properties": {
    "family": {
      "type": "string",
      "description": "You must specify a family for a task definition. Up to 255 characters (uppercase and lowercase letters, numbers, underscores, and hyphens are allowed)."
    },
    "containerDefinitions": {
      "type": "array",
      "description": "A list of container definitions that describe the containers that make up the task."
    },
    "taskRoleArn": {
      "type": "string",
      "description": "The short name or full ARN of the IAM role that containers in this task can assume."
    },
    "executionRoleArn": {
      "type": "string",
      "description": "The ARN of the task execution role that grants the ECS container agent permission to make API calls on your behalf."
    },
    "networkMode": {
      "type": "string",
      "description": "The Docker networking mode to use for the containers in the task."
    },
    "volumes": {
      "type": "array",
      "description": "A list of volume definitions for the task."
    },
    "placementConstraints": {
      "type": "array"
    },
    "requiresCompatibilities": {
      "type": "array",
      "description": "The task launch type compatibility requirement."
    },
    "cpu": {
      "type": "string",
      "description": "The number of CPU units used by the task. Required for Fargate launch type. Valid values: 256 (.25 vCPU) through 16384 (16 vCPU)."
    },
    "memory": {
      "type": "string",
      "description": "The amount of memory (in MiB) used by the task. Required for Fargate launch type."
    },
    "tags": {
      "type": "array"
    },
    "pidMode": {
      "type": "string",
      "description": "The process namespace to use for the containers in the task."
    },
    "ipcMode": {
      "type": "string",
      "description": "The IPC resource namespace to use for the containers in the task."
    },
    "inferenceAccelerators": {
      "type": "array"
    },
    "enableFaultInjection": {
      "type": "boolean",
      "description": "Whether to enable fault injection for the task definition."
    }
  }
}

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-ecs-register-task-definition-request"
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.