Amazon CodeDeploy · Schema

ECSTaskSet

Information about a set of Amazon ECS tasks in an CodeDeploy deployment. An Amazon ECS task set includes details such as the desired number of tasks, how many tasks are running, and whether the task set serves production traffic. An CodeDeploy application that uses the Amazon ECS compute platform deploys a containerized application in an Amazon ECS service as a task set.

AmazonDeploymentDevOpsCI/CDRelease ManagementBlue/Green Deployment

Properties

Name Type Description
identifer object
desiredCount object
pendingCount object
runningCount object
status object
trafficWeight object
targetGroup object
taskSetLabel object
View JSON Schema on GitHub

JSON Schema

amazon-codedeploy-ecs-task-set-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-codedeploy/refs/heads/main/json-schema/amazon-codedeploy-ecs-task-set-schema.json",
  "title": "ECSTaskSet",
  "description": " Information about a set of Amazon ECS tasks in an CodeDeploy deployment. An Amazon ECS task set includes details such as the desired number of tasks, how many tasks are running, and whether the task set serves production traffic. An CodeDeploy application that uses the Amazon ECS compute platform deploys a containerized application in an Amazon ECS service as a task set. ",
  "type": "object",
  "properties": {
    "identifer": {
      "allOf": [
        {
          "$ref": "#/components/schemas/ECSTaskSetIdentifier"
        },
        {
          "description": " A unique ID of an <code>ECSTaskSet</code>. "
        }
      ]
    },
    "desiredCount": {
      "allOf": [
        {
          "$ref": "#/components/schemas/ECSTaskSetCount"
        },
        {
          "description": " The number of tasks in a task set. During a deployment that uses the Amazon ECS compute type, CodeDeploy instructs Amazon ECS to create a new task set and uses this value to determine how many tasks to create. After the updated task set is created, CodeDeploy shifts traffic to the new task set. "
        }
      ]
    },
    "pendingCount": {
      "allOf": [
        {
          "$ref": "#/components/schemas/ECSTaskSetCount"
        },
        {
          "description": " The number of tasks in the task set that are in the <code>PENDING</code> status during an Amazon ECS deployment. A task in the <code>PENDING</code> state is preparing to enter the <code>RUNNING</code> state. A task set enters the <code>PENDING</code> status when it launches for the first time, or when it is restarted after being in the <code>STOPPED</code> state. "
        }
      ]
    },
    "runningCount": {
      "allOf": [
        {
          "$ref": "#/components/schemas/ECSTaskSetCount"
        },
        {
          "description": " The number of tasks in the task set that are in the <code>RUNNING</code> status during an Amazon ECS deployment. A task in the <code>RUNNING</code> state is running and ready for use. "
        }
      ]
    },
    "status": {
      "allOf": [
        {
          "$ref": "#/components/schemas/ECSTaskSetStatus"
        },
        {
          "description": "<p> The status of the task set. There are three valid task set statuses: </p> <ul> <li> <p> <code>PRIMARY</code>: Indicates the task set is serving production traffic. </p> </li> <li> <p> <code>ACTIVE</code>: Indicates the task set is not serving production traffic. </p> </li> <li> <p> <code>DRAINING</code>: Indicates the tasks in the task set are being stopped and their corresponding targets are being deregistered from their target group. </p> </li> </ul>"
        }
      ]
    },
    "trafficWeight": {
      "allOf": [
        {
          "$ref": "#/components/schemas/TrafficWeight"
        },
        {
          "description": " The percentage of traffic served by this task set. "
        }
      ]
    },
    "targetGroup": {
      "allOf": [
        {
          "$ref": "#/components/schemas/TargetGroupInfo"
        },
        {
          "description": " The target group associated with the task set. The target group is used by CodeDeploy to manage traffic to a task set. "
        }
      ]
    },
    "taskSetLabel": {
      "allOf": [
        {
          "$ref": "#/components/schemas/TargetLabel"
        },
        {
          "description": " A label that identifies whether the ECS task set is an original target (<code>BLUE</code>) or a replacement target (<code>GREEN</code>). "
        }
      ]
    }
  }
}

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-codedeploy-ecs-task-set"
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 email required.

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