(aws-ecs-patterns): allow ScheduledTaskBase be created in a DISABLED state #12836
Closed
1 of 2 tasks
Labels
@aws-cdk/aws-ecs-patterns
Related to ecs-patterns library
effort/small
Small work item – less than a day of effort
feature-request
A feature should be added or improved.
Allow
ScheduledTaskBase
and thusScheduledFargateTask
to set theeventRule
's state toDISABLED
, by passing inenabled: false
Use Case
I have multiple test branches for a given application. I only want the primary branch (
master
) to execute on a schedule.However, I want the scheduled tasks to still exist for the other test branches for QA and testing purposes:
Proposed Solution
Change the constructor for ScheduledTaskBase
from:
to
Other
This is a 🚀 Feature Request
The text was updated successfully, but these errors were encountered: