Skip to content
Back to skills

Ecs Api Reference

ASecurity

Amazon ECS API specification reference. Use when implementing ECS-compatible APIs in KECS to accurately reproduce request/response structures, parameters, error codes, and behaviors. Reference for implementing APIs like CreateCluster, CreateService, RunTask, RegisterTaskDefinition.

  • 666 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added February 8, 2026
documentationgoawsapi

Works with

  • cli
  • api

Security analysis

A100/100

Scanned February 10, 2026

npx -y skills add majiayu000/claude-skill-registry --skill ecs-api-reference --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ecs Api Reference?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Ecs Api Reference
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-ecs-api-reference/badge)](https://www.skillsdirectory.com/skills/majiayu000-ecs-api-reference)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: ecs-api-reference
description: Amazon ECS API specification reference. Use when implementing ECS-compatible APIs in KECS to accurately reproduce request/response structures, parameters, error codes, and behaviors. Reference for implementing APIs like CreateCluster, CreateService, RunTask, RegisterTaskDefinition.
allowed-tools: Read, Grep, Glob
---

# Amazon ECS API Reference for KECS

Reference skill for implementing ECS-compatible APIs in KECS.

## Overview

This skill provides detailed specifications for the following ECS API categories:

1. **Cluster API** - Cluster management (`cluster-api.md`)
2. **Service API** - Service management (`service-api.md`)
3. **Task API** - Task execution and management (`task-api.md`)
4. **Task Definition API** - Task definition management (`task-definition-api.md`)
5. **Other APIs** - Tags, TaskSets, Attributes, Account Settings, etc. (`other-apis.md`)

## Use Cases

- Implementing new ECS API endpoints
- Verifying request/response structures of existing APIs
- Aligning error codes and behaviors with AWS ECS
- Writing API compatibility tests

## Common API Specifications

### HTTP Request Format
```
POST / HTTP/1.1
Host: ecs.{region}.amazonaws.com
Content-Type: application/x-amz-json-1.1
X-Amz-Target: AmazonEC2ContainerServiceV20141113.{ActionName}
```

### Common Error Codes
| Error | HTTP | Description |
|-------|------|-------------|
| ClientException | 400 | Client-side error (insufficient permissions, invalid ID, etc.) |
| InvalidParameterException | 400 | Invalid parameter |
| ServerException | 500 | Server error |
| ClusterNotFoundException | 400 | Cluster not found |
| ServiceNotFoundException | 400 | Service not found |

### Tag Limits
- Maximum 50 tags per resource
- Key length: Maximum 128 characters (UTF-8)
- Value length: Maximum 256 characters (UTF-8)
- `aws:` prefix is reserved (cannot edit or delete)

### Pagination
- maxResults: 1-100 (default 10 or 100 depending on API)
- nextToken: Opaque continuation token

### ARN Format
```
arn:aws:ecs:{region}:{account}:{resource-type}/{resource-id}
```
Resource types: cluster, service, task, task-definition, container-instance, capacity-provider, task-set

## Detailed Specifications

Refer to the following support files for detailed API specifications:

- `cluster-api.md` - CreateCluster, DescribeClusters, ListClusters, DeleteCluster, UpdateCluster
- `service-api.md` - CreateService, DescribeServices, UpdateService, DeleteService, ListServices
- `task-api.md` - RunTask, StopTask, DescribeTasks, ListTasks, ExecuteCommand
- `task-definition-api.md` - RegisterTaskDefinition, DeregisterTaskDefinition, DescribeTaskDefinition, ListTaskDefinitions
- `other-apis.md` - TagResource, ListTagsForResource, CreateTaskSet, PutAttributes, PutAccountSetting, etc.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.