I want to update the min and max number of tasks for a service in ECS in a lambda function (python with boto3). It looks like the closest thing is the desired count: desiredCount
, but I don't think that is what I am after as my auto-scaling policy will change this anyway.
A bit more about my use case.
I have some containers on ECS of which poll a queue for jobs, and I to have some number of these always running during working hours, but then none running out of working hours. When load comes into the system my auto-scaling policy will scale out containers but a user would have to wait longer for this to happen when there are no containers, hence I want some always on during working hours.
I am also using AWS Fargate.