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.
This skill provides comprehensive AWS CLI ECS command specifications to ensure KECS compatibility with user expectations when using aws ecs commands.
AWS CLI ECS commands allow users to interact with Amazon ECS services. KECS emulates these APIs, so understanding CLI behavior is crucial for compatibility.
All ECS commands support these global options:
| Option | Description |
|---|---|
--region |
AWS region to use |
--profile |
Named credential profile |
--output |
Output format: json, text, table, yaml, yaml-stream |
--query |
JMESPath filter for response |
--endpoint-url |
Override service endpoint (critical for KECS) |
--debug |
Enable debug logging |
--no-verify-ssl |
Disable SSL verification |
--no-paginate |
Disable automatic pagination |
For paginated operations:
--max-items: Total items to return--page-size: Items per API call--starting-token: Resume from previous response--cli-input-json: Read arguments from JSON--cli-input-yaml: Read arguments from YAML--generate-cli-skeleton: Print request skeletonWhen 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
cluster-commands.md: Cluster lifecycle commandsservice-commands.md: Service management commandstask-commands.md: Task execution and managementtask-definition-commands.md: Task definition registrationother-commands.md: Tags, attributes, account settings, capacity providers, task sets