aws ecs deploy
Deploys a new task definition to the specified ECS service. AWS CLI reference
6 options Its page in the AWS CLI reference
Options
--clusterThe short name or full Amazon Resource Name (ARN) of the cluster that your service is running within.--codedeploy-applicationThe name of the AWS CodeDeploy application to use for the deployment.--codedeploy-appspecThe file path where your AWS CodeDeploy appspec file is located.--codedeploy-deployment-groupThe name of the AWS CodeDeploy deployment group to use for the deployment.--serviceThe short name or full Amazon Resource Name (ARN) of the service to update--task-definitionThe file path where your task definition file is located.