This is a dedicated watch page for a single video.
A company is running a batch job hosted on AWS Fargate to process large ZIP files. The job is triggered whenever files are uploaded on an Amazon S3 bucket. To save costs, the company wants to set the minimum number of ECS Tasks to 1, and only increase the task count when objects are uploaded to the S3 bucket again. Once processing is complete, the S3 bucket should be emptied out and all ECS tasks should be stopped. The object-level logging has already been enabled in the bucket. Which of the following options is the EASIEST way to implement this?