Amazon ECS · Schema

CreateServiceRequest

AmazonContainersDockerECSOrchestration

Properties

Name Type Description
serviceName string The name of your service (up to 255 characters).
cluster string The short name or full ARN of the cluster to run the service on.
taskDefinition string The family and revision or full ARN of the task definition.
desiredCount integer The number of instantiations of the specified task definition to place and keep running.
launchType string The launch type on which to run your service.
capacityProviderStrategy array
platformVersion string The platform version that your tasks in the service are running on (Fargate only).
loadBalancers array A load balancer object representing the load balancers to use with your service.
schedulingStrategy string The scheduling strategy to use for the service.
placementConstraints array
placementStrategy array
healthCheckGracePeriodSeconds integer The period of time, in seconds, that the ECS service scheduler ignores unhealthy Elastic Load Balancing target health checks after a task has first started.
enableECSManagedTags boolean
enableExecuteCommand boolean Whether to enable Amazon ECS Exec for the tasks within the service.
propagateTags string
role string The IAM role that allows Amazon ECS to make calls to your load balancer.
serviceRegistries array
tags array
clientToken string An identifier you provide to ensure the idempotency of the request.
View JSON Schema on GitHub

JSON Schema

amazon-ecs-create-service-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "CreateServiceRequest",
  "type": "object",
  "properties": {
    "serviceName": {
      "type": "string",
      "description": "The name of your service (up to 255 characters)."
    },
    "cluster": {
      "type": "string",
      "description": "The short name or full ARN of the cluster to run the service on."
    },
    "taskDefinition": {
      "type": "string",
      "description": "The family and revision or full ARN of the task definition."
    },
    "desiredCount": {
      "type": "integer",
      "description": "The number of instantiations of the specified task definition to place and keep running."
    },
    "launchType": {
      "type": "string",
      "description": "The launch type on which to run your service."
    },
    "capacityProviderStrategy": {
      "type": "array"
    },
    "platformVersion": {
      "type": "string",
      "description": "The platform version that your tasks in the service are running on (Fargate only)."
    },
    "loadBalancers": {
      "type": "array",
      "description": "A load balancer object representing the load balancers to use with your service."
    },
    "schedulingStrategy": {
      "type": "string",
      "description": "The scheduling strategy to use for the service."
    },
    "placementConstraints": {
      "type": "array"
    },
    "placementStrategy": {
      "type": "array"
    },
    "healthCheckGracePeriodSeconds": {
      "type": "integer",
      "description": "The period of time, in seconds, that the ECS service scheduler ignores unhealthy Elastic Load Balancing target health checks after a task has first started."
    },
    "enableECSManagedTags": {
      "type": "boolean"
    },
    "enableExecuteCommand": {
      "type": "boolean",
      "description": "Whether to enable Amazon ECS Exec for the tasks within the service."
    },
    "propagateTags": {
      "type": "string"
    },
    "role": {
      "type": "string",
      "description": "The IAM role that allows Amazon ECS to make calls to your load balancer."
    },
    "serviceRegistries": {
      "type": "array"
    },
    "tags": {
      "type": "array"
    },
    "clientToken": {
      "type": "string",
      "description": "An identifier you provide to ensure the idempotency of the request."
    }
  }
}

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