aws ecs update-service-primary-task-set

Modifies which task set in a service is the primary task set. Any parameters that are updated on the primary task set in a service will transition to the service. This is used when a service uses the EXTERNAL deployment controller type. For more information, see Amazon ECS Deployment Types in the Amazon Elastic Container Service Developer Guide

Options

NameDescription
--cluster <string>The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service that the task set exists in
--service <string>The short name or full Amazon Resource Name (ARN) of the service that the task set exists in
--primary-task-set <string>The short name or full Amazon Resource Name (ARN) of the task set to set as the primary task set in the deployment
--cli-input-json <string>Performs service operation based on the JSON string provided. The JSON string follows the format provided by ``--generate-cli-skeleton``. If other arguments are provided on the command line, the CLI values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally
--generate-cli-skeleton <string>Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value ``input``, prints a sample input JSON that can be used as an argument for ``--cli-input-json``. If provided with the value ``output``, it validates the command inputs and returns a sample output JSON for that command