aws ecs run-task
Starts a new task using the specified task definition. AWS CLI reference
19 options Its page in the AWS CLI reference
Options
--capacity-provider-strategyThe capacity provider strategy to use for the task.--client-tokenAn identifier that you provide to ensure the idempotency of the request.--clusterThe short name or full Amazon Resource Name (ARN) of the cluster to run your task on.--countThe number of instantiations of the specified task to place on your cluster.--disable-execute-command, --enable-execute-commandDetermines whether to use the execute command functionality for the containers in this task.--enable-ecs-managed-tagsSpecifies whether to use Amazon ECS managed tags for the task.--groupThe name of the task group to associate with the task.--launch-typeThe infrastructure to run your standalone task on.--network-configurationThe network configuration for the task.--overridesA list of container overrides in JSON format that specify the name of a container in the specified task definition and the overrides it should receive.--placement-constraintsAn array of placement constraint objects to use for the task.--placement-strategyThe placement strategy objects to use for the task.--platform-versionThe platform version the task uses.--propagate-tagsSpecifies whether to propagate the tags from the task definition to the task.--reference-idThis parameter is only used by Amazon ECS.--started-byAn optional tag specified when a task is started.--tagsThe metadata that you apply to the task to help you categorize and organize them.--task-definitionThe family and revision (family:revision) or full ARN of the task definition to run.--volume-configurationsThe details of the volume that was configuredAtLaunch.