Updates the specified daemon. When you update a daemon, a new deployment is triggered that progressively rolls out the changes to the container instances associated with the daemon's capacity providers. For more information, see Daemon deployments in the Amazon Elastic Container Service Developer Guide.
See https://www.paws-r-sdk.com/docs/ecs_update_daemon/ for full documentation.
Usage
ecs_update_daemon(
daemonArn,
daemonTaskDefinitionArn,
capacityProviderArns,
deploymentConfiguration = NULL,
propagateTags = NULL,
enableECSManagedTags = NULL,
enableExecuteCommand = NULL
)Arguments
- daemonArn
[required] The Amazon Resource Name (ARN) of the daemon to update.
- daemonTaskDefinitionArn
[required] The Amazon Resource Name (ARN) of the daemon task definition to use for the updated daemon.
- capacityProviderArns
[required] The Amazon Resource Names (ARNs) of the capacity providers to associate with the daemon.
- deploymentConfiguration
Optional deployment parameters that control how the daemon rolls out updates, including the drain percentage, alarm-based rollback, and bake time.
Specifies whether to propagate the tags from the daemon to the daemon tasks. If you don't specify a value, the tags aren't propagated. You can only propagate tags to daemon tasks during task creation.
Specifies whether to turn on Amazon ECS managed tags for the tasks in the daemon. For more information, see Tagging your Amazon ECS resources in the Amazon Elastic Container Service Developer Guide.
- enableExecuteCommand
If
true, the execute command functionality is turned on for all tasks in the daemon. Iffalse, the execute command functionality is turned off.