aws-ecs
Manage Elastic Container Service (ECS) clusters. tldr-pages
On several platforms
Several platforms
List task definitions
aws ecs list-task-definitionsIdentifyDescribe a task definition
aws ecs describe-task-definition --task-definition task_definitionIdentify--task-definitionThe family for the latest ACTIVE revision, family and revision (family:revision) for a specific revision in the family, or full Amazon Resource Name (ARN) of the task definition to describe. AWS CLI referenceCreate a task definition or make a revision
aws ecs register-task-definition --cli-input-json file://path_to_file.jsonIdentifyDeregister a task definition marking them INACTIVE
aws ecs deregister-task-definition --task-definition task_definition:revision_numberIdentify--task-definitionThe family and revision (family:revision) or full Amazon Resource Name (ARN) of the task definition to deregister. AWS CLI referenceList services in a specific cluster
aws ecs list-services --cluster cluster_nameIdentify--clusterThe short name or full Amazon Resource Name (ARN) of the cluster to use when filtering the ListServices results. AWS CLI referenceDescribe one or more services in a cluster
aws ecs describe-services --services service_name service_name --cluster cluster_nameIdentify--servicesA list of services to describe. AWS CLI reference--clusterThe short name or full Amazon Resource Name (ARN)the cluster that hosts the service to describe. AWS CLI referenceUpdate a service and force new deployment
aws ecs update-service --cluster cluster_name --service service_name --task-definition task_definition_arn --force-new-deploymentIdentify--clusterThe short name or full Amazon Resource Name (ARN) of the cluster that your service runs on. AWS CLI reference--serviceThe name of the service to update. AWS CLI reference--task-definitionThe family and revision (family:revision) or full ARN of the task definition to run in your service. AWS CLI reference--force-new-deploymentDetermines whether to force a new deployment of the service. AWS CLI referenceWait until one or more services to succeed
aws ecs wait services-stable --cluster cluster_name --services service_name service_nameIdentify