Amazon ECS · Schema

Service

Details on a service within a cluster. A service runs and maintains a specified number of instances of a task definition.

AmazonContainersDockerECSOrchestration

Properties

Name Type Description
serviceArn string The ARN that identifies the service.
serviceName string The name of your service.
clusterArn string The ARN of the cluster that hosts the service.
loadBalancers array
serviceRegistries array
status string The status of the service.
desiredCount integer The desired number of instantiations of the task definition to keep running on the service.
runningCount integer The number of tasks in the cluster that are in the RUNNING state.
pendingCount integer The number of tasks in the cluster that are in the PENDING state.
launchType string
capacityProviderStrategy array
platformVersion string
platformFamily string
taskDefinition string The task definition ARN used by tasks in the service.
deployments array
roleArn string
events array
createdAt number The Unix timestamp for when the service was created.
placementConstraints array
placementStrategy array
healthCheckGracePeriodSeconds integer
schedulingStrategy string
tags array
createdBy string
enableECSManagedTags boolean
enableExecuteCommand boolean
propagateTags string
View JSON Schema on GitHub

JSON Schema

amazon-ecs-service-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Service",
  "type": "object",
  "description": "Details on a service within a cluster. A service runs and maintains a specified number of instances of a task definition.",
  "properties": {
    "serviceArn": {
      "type": "string",
      "description": "The ARN that identifies the service."
    },
    "serviceName": {
      "type": "string",
      "description": "The name of your service."
    },
    "clusterArn": {
      "type": "string",
      "description": "The ARN of the cluster that hosts the service."
    },
    "loadBalancers": {
      "type": "array"
    },
    "serviceRegistries": {
      "type": "array"
    },
    "status": {
      "type": "string",
      "description": "The status of the service."
    },
    "desiredCount": {
      "type": "integer",
      "description": "The desired number of instantiations of the task definition to keep running on the service."
    },
    "runningCount": {
      "type": "integer",
      "description": "The number of tasks in the cluster that are in the RUNNING state."
    },
    "pendingCount": {
      "type": "integer",
      "description": "The number of tasks in the cluster that are in the PENDING state."
    },
    "launchType": {
      "type": "string"
    },
    "capacityProviderStrategy": {
      "type": "array"
    },
    "platformVersion": {
      "type": "string"
    },
    "platformFamily": {
      "type": "string"
    },
    "taskDefinition": {
      "type": "string",
      "description": "The task definition ARN used by tasks in the service."
    },
    "deployments": {
      "type": "array"
    },
    "roleArn": {
      "type": "string"
    },
    "events": {
      "type": "array"
    },
    "createdAt": {
      "type": "number",
      "description": "The Unix timestamp for when the service was created."
    },
    "placementConstraints": {
      "type": "array"
    },
    "placementStrategy": {
      "type": "array"
    },
    "healthCheckGracePeriodSeconds": {
      "type": "integer"
    },
    "schedulingStrategy": {
      "type": "string"
    },
    "tags": {
      "type": "array"
    },
    "createdBy": {
      "type": "string"
    },
    "enableECSManagedTags": {
      "type": "boolean"
    },
    "enableExecuteCommand": {
      "type": "boolean"
    },
    "propagateTags": {
      "type": "string"
    }
  }
}

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-service"
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.