Back to list
nandemo-ya

ecs-cli-reference

by nandemo-ya

KECS (Kubernetes-based ECS Compatible Service) is a standalone service that provides Amazon ECS compatible APIs running on Kubernetes.

40🍴 0📅 Jan 18, 2026

SKILL.md


name: ecs-cli-reference description: AWS CLI ECS command reference. Use when understanding how users interact with ECS via AWS CLI, including command syntax, options, examples, and output formats. Essential for KECS compatibility. allowed-tools: Read, Grep, Glob

AWS CLI ECS Command Reference

This skill provides comprehensive AWS CLI ECS command specifications to ensure KECS compatibility with user expectations when using aws ecs commands.

Overview

AWS CLI ECS commands allow users to interact with Amazon ECS services. KECS emulates these APIs, so understanding CLI behavior is crucial for compatibility.

Global CLI Options

All ECS commands support these global options:

OptionDescription
--regionAWS region to use
--profileNamed credential profile
--outputOutput format: json, text, table, yaml, yaml-stream
--queryJMESPath filter for response
--endpoint-urlOverride service endpoint (critical for KECS)
--debugEnable debug logging
--no-verify-sslDisable SSL verification
--no-paginateDisable automatic pagination

Pagination Options

For paginated operations:

  • --max-items: Total items to return
  • --page-size: Items per API call
  • --starting-token: Resume from previous response

Input Options

  • --cli-input-json: Read arguments from JSON
  • --cli-input-yaml: Read arguments from YAML
  • --generate-cli-skeleton: Print request skeleton

Command Categories

Core Resources

  • Cluster Commands: create-cluster, describe-clusters, list-clusters, delete-cluster, update-cluster
  • Service Commands: create-service, describe-services, list-services, update-service, delete-service
  • Task Commands: run-task, stop-task, describe-tasks, list-tasks, execute-command
  • Task Definition Commands: register-task-definition, deregister-task-definition, describe-task-definition, list-task-definitions, list-task-definition-families

Advanced Features

  • TaskSet Commands: create-task-set, describe-task-sets, update-task-set, delete-task-set
  • Capacity Provider Commands: create-capacity-provider, describe-capacity-providers, update-capacity-provider, delete-capacity-provider, put-cluster-capacity-providers
  • Attribute Commands: put-attributes, list-attributes, delete-attributes
  • Tag Commands: tag-resource, untag-resource, list-tags-for-resource
  • Account Settings: put-account-setting, put-account-setting-default, list-account-settings, delete-account-setting

KECS-Specific Usage

When using AWS CLI with KECS:

# Point to KECS endpoint
export AWS_ENDPOINT_URL=http://localhost:8080

# Or per-command
aws ecs list-clusters --endpoint-url http://localhost:8080

# With custom kubeconfig
export KUBECONFIG=/tmp/kecs-instance.config
aws ecs describe-clusters --cluster default

Support Files

  • cluster-commands.md: Cluster lifecycle commands
  • service-commands.md: Service management commands
  • task-commands.md: Task execution and management
  • task-definition-commands.md: Task definition registration
  • other-commands.md: Tags, attributes, account settings, capacity providers, task sets

Score

Total Score

75/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

+10
人気

GitHub Stars 100以上

0/15
最近の活動

1ヶ月以内に更新

+10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

+5

Reviews

💬

Reviews coming soon