PATH:
usr
/
local
/
jetapps
/
var
/
lib
/
aws
/
lib
/
python2.7
/
site-packages
/
awscli
/
examples
/
ecs
**To change the task definition used in a service** This example command updates the ``my-http-service`` service to use the ``amazon-ecs-sample`` task definition. Command:: aws ecs update-service --service my-http-service --task-definition amazon-ecs-sample **To change the number of tasks in a service** This example command updates the desired count of the ``my-http-service`` service to 10. Command:: aws ecs update-service --service my-http-service --desired-count 10
[-] list-container-instances.rst
[edit]
[-] list-task-definitions.rst
[edit]
[-] delete-cluster.rst
[edit]
[-] list-clusters.rst
[edit]
[+]
..
[-] describe-task-definition.rst
[edit]
[-] register-task-definition.rst
[edit]
[-] deregister-task-definition.rst
[edit]
[-] list-services.rst
[edit]
[-] delete-service.rst
[edit]
[-] deregister-container-instance.rst
[edit]
[-] list-tasks.rst
[edit]
[-] update-service.rst
[edit]
[-] list-task-definition-families.rst
[edit]
[-] update-container-agent.rst
[edit]
[-] create-service.rst
[edit]
[-] describe-tasks.rst
[edit]
[-] describe-clusters.rst
[edit]
[-] run-task.rst
[edit]
[-] create-cluster.rst
[edit]
[-] describe-services.rst
[edit]
[-] describe-container-instances.rst
[edit]