deleteDaemon
Deletes the specified daemon. The daemon must be in an ACTIVE state to be deleted. Deleting a daemon stops all running daemon tasks on the associated container instances. Amazon ECS drains existing container instances and provisions new instances without the deleted daemon. Amazon ECS automatically launches replacement tasks for your Amazon ECS services.
ECS Managed Daemons is only supported for Amazon ECS Managed Instances Capacity Providers.
Samples
fun main() {
//sampleStart
// This example deletes the my monitoring daemon daemon.
val resp = ecsClient.deleteDaemon {
daemonArn = "arn:aws:ecs:us-east-1:123456789012:daemon/my-cluster/my-monitoring-daemon"
}
//sampleEnd
}