aws ecs update-service
Modifies the parameters of a service. AWS CLI reference
24 options Its page in the AWS CLI reference
Options
--availability-zone-rebalancingIndicates whether to use Availability Zone rebalancing for the service.--capacity-provider-strategyThe details of a capacity provider strategy.--clusterThe short name or full Amazon Resource Name (ARN) of the cluster that your service runs on.--deployment-configurationOptional deployment parameters that control how many tasks run during the deployment and the ordering of stopping and starting tasks.--deployment-controllerThe deployment controller to use for the service.--desired-countThe number of instantiations of the task to place and keep running in your service.--disable-execute-command, --enable-execute-commandIf true, this enables execute command functionality on all task containers.--enable-ecs-managed-tagsDetermines whether to turn on Amazon ECS managed tags for the tasks in the service.--force-new-deploymentDetermines whether to force a new deployment of the service.--gateway-connectorsThe updated set of gateway connectors that connect the service to a gateway ingress path.--health-check-grace-period-secondsThe period of time, in seconds, that the Amazon ECS service scheduler ignores unhealthy Elastic Load Balancing, VPC Lattice, and container health checks after a task has first started.--load-balancersYou must have a service-linked role when you update this property A list of Elastic Load Balancing load balancer objects.--monitoringThe optional monitoring configuration for the service, which defines the resolution for the service-level CPUUtilization and MemoryUtilization Amazon CloudWatch metrics.--network-configurationAn object representing the network configuration for the service.--placement-constraintsAn array of task placement constraint objects to update the service to use.--placement-strategyThe task placement strategy objects to update the service to use.--platform-versionThe platform version that your tasks in the service run on.--propagate-tagsDetermines whether to propagate the tags from the task definition or the service to the task.--service-connect-configurationThe configuration for this service to discover and connect to services, and be discovered by, and connected from, other services within a namespace.--service-registriesYou must have a service-linked role when you update this property.--serviceThe name of the service to update.--task-definitionThe family and revision (family:revision) or full ARN of the task definition to run in your service.--volume-configurationsThe details of the volume that was configuredAtLaunch.--vpc-lattice-configurationsAn object representing the VPC Lattice configuration for the service being updated.